A dbt project's CI rebuilds every model on every PR
A medium Pipeline Design interview practice problem on DataDriven. Write and execute real pipeline design code with instant grading.
- Domain
- Pipeline Design
- Difficulty
- medium
Problem
A dbt project's CI rebuilds every model on every PR. Engineers stopped running CI locally because it takes 45 minutes; they push and watch it fail in GitHub. The section names four CI test layers (code, logic, schema/contracts, integration) and the slim-CI optimization: build only the models that changed plus their downstream descendants, against a deferred dev warehouse, with teardown after the PR closes. Design the test plan by replacing the CI step with a slim-CI runner whose name states the four test layers, the changed-models-plus-descendants selector, the deferred dev warehouse, and the teardown.
Practice This Problem
Solve this Pipeline Design problem with real code execution. DataDriven runs your solution and grades it automatically.