Debugging dbt Runs
Diagnoses and resolves failing dbt runs, covering Jinja compilation issues, DAG dependency errors, incremental drift, and CI deferral problems.
Debugging dbt Runs provides systematic troubleshooting workflows for data engineers running dbt pipelines. It guides agents and developers through classifying and resolving complex failure modes, such as Jinja syntax mistakes, missing dependencies, circular DAG graphs, incremental duplicate records, schema migration errors, and Slim CI deferral mismatches. By isolating single nodes and prioritizing compiled SQL review over raw template inspection, this skill helps teams recover failed production runs, prevent costly accidental full refreshes, and ensure reliable pipeline executions.
Key Features
01Resolves DAG relationship errors, broken ref links, and circular pipeline dependencies
02Fixes incremental model anomalies, including missing unique keys, schema drifts, and duplicate rows
03Troubleshoots Slim CI issues, deferral flags, and state-modified manifest discrepancies
04Compiles and inspects raw SQL directly from the dbt target directory to isolate Jinja failures
05Provides targeted node selection strategies using selective run commands to speed up iteration
0625 GitHub stars
Use Cases
01Fixing duplicate records and missing lookback periods in incremental warehouse models
02Troubleshooting broken Slim CI jobs in GitHub Actions when state-modified builds fail against production manifests
03Diagnosing Jinja rendering errors and missing model ref definitions across complex multi-layer DAGs