Branch Environments are schemas in the shared stage Warehouse

Beyond the fixed dev/stage/prod Environments, every Git branch / pull request gets a disposable Branch Environment implemented as its own set of schemas in the stage Warehouse, named br_<branch>__<schema> (e.g. br_add_refunds__analytics). It is created by adops run <pipeline> --branch <branch> and dropped by adops drop-branch <branch>. Schemas were chosen over a separate database or docker stack per branch because they are cheap, fast to create, and work identically on Postgres and DuckDB.

Consequences: a Branch Environment does not re-sync Sources by default. It defers to the stage Environment's synced tables and rebuilds only changed Steps and their downstream dependents; a full re-sync happens only when the branch changes a Sync Step itself.

Clarification (2026-11-20)

The original text named a single env_<branch> schema created by CI and dropped on merge/close. What shipped:

Clarification (2026-11-21)

Clarification (2026-11-23)

Clarification (2026-11-27)

Clarification (2026-11-28)