MOTIS

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.

Client
National retailer
Capabilities
Data engineering · Workflow automation
Status
Delivered

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.

Fig. 04 · Process, before and afterRetail

Before

SystemPull request
PersonOne engineerholds the access to drop schemas
SystemRebuild on live data
OutputChange verified, eventually

After

SystemPull request
CheckFixture buildruns on any branch
OutputChange verified in the pipeline

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

Is this the shape of your problem?