Skip to content

[Bug] Microbatch can cause dbt runs to hang #11306

@QMalcolm

Description

@QMalcolm

Is this a new bug in dbt-core?

  • I believe this is a new bug in dbt-core
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

You can cause microbatch models to hang the dbt runtime. This is most easily reproduced by providing the --fail-fast flag with a microbatch that has an error in it, full reproduction steps can be found https://github.com/dbt-labs/TMP_MICROBATCH_HANGING_REPRO. The hanging has been observed in other manners, but they are not as easily reproduced.

Expected Behavior

Microbatch models shouldn't cause the dbt runtime to hang.

Steps To Reproduce

https://github.com/dbt-labs/TMP_MICROBATCH_HANGING_REPRO

Relevant log output

Environment

- OS: MacOS 15.1.1
- Python: 3.11.9
- dbt: 1.9.2

Which database adapter are you using with dbt?

snowflake

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmicrobatchIssues related to the microbatch incremental strategy

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions