Skip to content

Deploys causing DAGs to be stuck in running state when using dbt Runner #1903

@kandharvishnu

Description

@kandharvishnu

Astronomer Cosmos Version

1.10.1

dbt-core version

1.9.4

Versions of dbt adapters

dbt-adapters==1.16.3
dbt-bigquery==1.9.1
dbt-common==1.27.1
dbt-core==1.9.4
dbt-extractor==0.6.0
dbt-protos==1.0.348
dbt-semantic-interfaces==0.7.5
sqlfluff-templater-dbt==3.0.7

LoadMode

DBT_LS

ExecutionMode

KUBERNETES

InvocationMode

DBT_RUNNER

airflow version

2.11.0

Operating System

debian

If a you think it's an UI issue, what browsers are you seeing the problem on?

No response

Deployment

Astronomer

Deployment details

No response

What happened?

When a DAG is in running state using dbt Runner, around the same time if we deploy the DAG is stuck and not moving forward

Relevant log output

How to reproduce

  • Create a long-running dbt Runner task
  • Trigger the DAG so it’s in running state
  • While it’s running, deploy new DAG code

Anything else :)?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage-neededItems need to be reviewed / assigned to milestone

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions