Skip to content

Deferred task marked as failed if triggerer moves state to running #71580

Description

@raghavan-arvind

Under which category would you file this issue?

Providers

Apache Airflow version

3.3.0

What happened and how to reproduce it?

Events from audit logs:

  • 2026-08-13 18:25:07 - running
  • 2026-08-13 18:25:13 - deferred
  • 2026-08-13 18:25:18 - running
  • 2026-08-13 18:25:20 - state mismatch - Executor LocalExecutor(parallelism=200) reported that the task instance <TaskInstance: DAG.TASK__2026-08-13T15:00:00+00:00 [running] ti_id=019ffd71-91ba-7380-865a-671e464f41ee> finished with state success, but the task instance's state attribute is running. Learn more: https://airflow.apache.org/docs/apache-airflow/stable/troubleshooting.html#task-state-changed-externally
  • 2026-08-13 18:25:20 - failed

What you think should happen instead?

The task should be allowed to complete by the triggerer.

Operating System

linux

Deployment

None

Apache Airflow Provider(s)

No response

Versions of Apache Airflow Providers

No response

Official Helm Chart version

Not Applicable

Kubernetes Version

No response

Helm Chart configuration

No response

Docker Image customizations

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions