Friction

Pain point · Reliability & bugs · Causes churn

Task timeout leaves dbt work running during retries

Part of the theme “Cancelled or timed-out runs leave compute running” · 3 reports · see them all

1 source thread · first seen 2026-09

Summary

When a Prefect task wrapping PrefectDbtRunner.invoke() times out, dbt worker threads may keep executing. A retry can start another invocation over the still-running work, causing competing operations on the same relations.

Affects
Teams running dbt through PrefectDbtRunner

Evidence

Excerpts are copied word for word from the source; follow the link to read it in full.

“two generations of dbt work can then race against the same relations”

Report this item