04 / Work · Retail
Every change waited on one engineer’s access
A platform team had good models and no end-to-end test. Seeing whether a change worked needed schemas dropped by the one person allowed to drop them.
01 / Context
A national retailer’s platform team builds its data products with dbt on Snowflake.
02 / Problem
To see whether a change worked you rebuilt against live data. The rebuild needed schemas dropped and recreated, and one engineer held the access to do that. Every pull request queued behind his calendar.
03 / Architecture
A build should run from what is committed. Seeds and snapshots were reshaped so the whole chain rebuilds from fixtures in the repository, on anyone’s branch, with nobody’s elevated access.
Before
After
04 / Implementation
I refactored the seeds and snapshots so that updating a seed refreshes the chain. The test that had lived in one person’s permissions became a step in the pipeline.
05 / Outcome
It saved hours per change, and the team stopped waiting on one desk for work to move.
06 / Technical details
- Stack
- dbt on Snowflake
- Tests
- Fixture-driven end-to-end build in the pipeline
- Handed over
- The build, the data products it gates, and a testing framework the team extends