apache / apache/airflow

Deferred task marked as failed if triggerer moves state to running

Open
#71,580 0 comments 0 reactions 1 assignee Claimed by @raghavan-arvind View on GitHub
area:dynamic-task-mapping area:scheduler area:Triggerer kind:bug
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 9h
Merged PRs (30d)
472

Description

### 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 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?

- [x] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.