luvv to helpDiscover the Best Free Online Tools
Topic 3 of 8

Release Workflow Dev Stage Prod

Learn Release Workflow Dev Stage Prod for free with explanations, exercises, and a quick test (for BI Developer).

Published: December 24, 2025 | Updated: December 24, 2025

Why this matters

As a BI Developer, your work moves from your laptop (dev) to a shared testing area (stage) and then to users (prod). A clear release workflow lets you:

  • Ship dashboard and model updates safely and predictably.
  • Protect production data and user trust with approvals and checks.
  • Roll back quickly if something breaks.
  • Work in parallel with teammates without overwriting each other’s changes.

Concept explained simply

Think of releases like packing a suitcase for a trip:

  • Dev: You try on outfits and decide what to bring.
  • Stage: You lay everything out and do a final check.
  • Prod: You lock the suitcase and go.
Mental model: Traffic lights for changes
  • Green (Dev): Experiment. Feature branches. Frequent commits.
  • Amber (Stage): Freeze scope. Test data refreshes, visuals, measures, and SQL migrations.
  • Red (Prod): Only pre-approved, tagged releases go through. Rollback plan ready.

Release workflow at a glance

  1. Plan: Create a ticket with scope, risks, and acceptance criteria.
  2. Branch: feature/TICKET-ID from develop.
  3. Develop: Commit small changes with meaningful messages.
  4. Review: Open a pull request (PR) to develop. Get at least one reviewer.
  5. Release branch: cut release/x.y.z from develop when ready.
  6. Stage deploy: Deploy release/x.y.z to stage. Run checks.
  7. Approval: Business sign-off + technical checklist.
  8. Prod deploy: Merge release/x.y.z to main, tag vX.Y.Z, deploy to prod.
  9. Close & learn: Merge back to develop if needed, document outcomes, and note next steps.
Minimal artifacts to version
  • SQL migration scripts (forward and rollback when feasible).
  • BI model definitions and dataset parameters.
  • Report/dashboard files and calculated measures.
  • Environment configuration files (without secrets).
  • Release notes (what changed, when, who approved).
Safe rollout options
  • Canary: deploy to a subset of workspaces/users first.
  • Feature flags/parameters: switch behavior without redeploy.
  • Dark launch: deploy model first, schedule refresh, publish visuals later.

Worked examples

Example 1: Adding a new KPI measure in a dashboard
  1. Branch: feature/742-add-gmv-kpi from develop.
  2. Dev: Add measure, update visual, adjust formatting. Commit with messages like "feat(measure): add GMV last 28 days".
  3. PR to develop: reviewer checks naming conventions and performance.
  4. Release: cut release/1.6.0.
  5. Stage deploy: Publish dataset and report to stage. Validate calculation on test data and edge cases (nulls, zero sales).
  6. Approval: Product owner confirms numbers match expected.
  7. Prod deploy: Merge to main, tag v1.6.0, deploy. Refresh dataset.
  8. Post: Add a quick note in release notes with screenshots of validations.
Example 2: Backward-compatible SQL change

Goal: Add a column used by a new visual, without breaking existing queries.

  1. Write forward migration: ALTER TABLE add column; backfill non-null defaults if required.
  2. Deploy sequence: prod model first (column exists) -> stage test visuals -> prod visuals.
  3. Because it’s additive and backward-compatible, existing reports keep working.
  4. Rollback plan: If needed, revert visuals first; drop column only after confirming no dependencies.
Example 3: Breaking schema change (rename column)
  1. Step 1: Add new column with new name; populate from old column.
  2. Step 2: Update models/measures to use new column; keep old column temporarily.
  3. Step 3: Release in two cycles: first release switches usage; second release removes old column after confirming no references remain.
  4. Rollback: If problems occur, switch visuals back to old column; both columns exist during transition.

Release checklists

Stage gating checklist
  • [ ] PR reviewed and approved
  • [ ] Migration scripts tested on a copy/sandbox
  • [ ] Data refresh completed in stage
  • [ ] Critical visuals validated with sample scenarios
  • [ ] Performance baseline not degraded
  • [ ] Release notes updated
Prod readiness checklist
  • [ ] Tag planned (vX.Y.Z) and rollback tag identified
  • [ ] Business sign-off recorded
  • [ ] Credentials/config verified (no secrets in repo)
  • [ ] Monitoring/alerts enabled
  • [ ] Rollback steps documented and tested

Exercises

These match the graded exercises below so you can prepare here first.

Exercise 1 (planning)

Create a one-page release plan for adding a new revenue KPI and a supporting column to a fact table.

  • [ ] Scope and acceptance criteria
  • [ ] Risks and mitigations
  • [ ] Forward and rollback steps
  • [ ] Stage tests to run
  • [ ] Approvals required

Exercise 2 (git flow)

Write the exact git commands for: feature branch -> PR -> release branch -> stage test -> merge to main -> tag -> hotfix.

  • [ ] Feature branch from develop
  • [ ] Merge via PR
  • [ ] Create release branch
  • [ ] Tag on main
  • [ ] Hotfix flow back to develop

Common mistakes and how to self-check

  • Mistake: Deploying from feature branches directly to prod. Fix: Only deploy from main with a tag.
  • Mistake: Breaking changes in one release. Fix: Use two-step, backward-compatible migrations.
  • Mistake: No rollback plan. Fix: Keep previous tag and documented revert steps.
  • Mistake: Skipping stage data refresh. Fix: Always refresh and validate on stage first.
  • Mistake: Vague commit messages. Fix: Use clear, scoped messages and reference tickets.
Self-check
  • [ ] Can you point to the tag that matches the current production state?
  • [ ] Can you redeploy the previous version in under 10 minutes?
  • [ ] Do you know which tests must pass on stage?
  • [ ] Is there a documented owner who signs off?

Practical projects

  1. Small team release simulation: Pair up. One person builds a new measure; the other reviews and writes stage tests. Run the full release flow with tags and notes.
  2. Two-step migration lab: Rename a column using the safe two-release pattern. Document the plan, execute, and verify no broken dependencies.
  3. Rollback drill: Intentionally deploy a change to a sandbox and practice restoring the previous tagged version. Time the process.

Who this is for

  • BI Developers who ship datasets, models, and dashboards.
  • Analytics Engineers who manage SQL transformations and semantic layers.
  • Data team leads formalizing deployment practices.

Prerequisites

  • Comfort with Git basics (clone, branch, commit, merge).
  • Ability to run a dataset refresh in non-production.
  • Basic SQL for schema changes.

Learning path

  1. Learn branch strategy (feature, develop, release, main, hotfix).
  2. Practice stage testing and data validation checks.
  3. Add tagging and release notes to every production deploy.
  4. Introduce rollback drills and canary releases.
  5. Automate repetitive steps (validation scripts, checklists) over time.

Next steps

  • Apply this workflow to your next BI change.
  • Create a shared release checklist template for your team.
  • Schedule a monthly rollback drill to keep skills fresh.

Mini challenge

You need to introduce a breaking change (rename a key column). Draft a two-release plan that guarantees zero downtime for current reports. Include exact steps for dev, stage, prod, and rollback.

Progress & test note

The quick test for this lesson is available to everyone. Logged-in users will have their progress saved automatically.

Practice Exercises

2 exercises to complete

Instructions

Create a concise release plan (max 1 page) for adding a new KPI measure and a new nullable column to a fact table.

  • Define scope, acceptance criteria, and risks.
  • List forward steps for dev, stage, and prod.
  • Write a rollback plan (what tag to revert to, steps).
  • Provide a stage validation checklist (at least 5 checks).
  • State approvals needed (roles, not names).
Expected Output
A 1-page text plan including scope, steps per environment, validation checks, rollback, and approvals.

Release Workflow Dev Stage Prod — Quick Test

Test your knowledge with 10 questions. Pass with 70% or higher.

10 questions70% to pass

Have questions about Release Workflow Dev Stage Prod?

AI Assistant

Ask questions about this tool