Apache Airflow version
3.0.5
If "Other Airflow 2 version" selected, which one?
No response
What happened?
When a dag is cleared while in the running state, the tasks will get stuck in the restarting state. They will then emit heartbeat timeout events continuously, and the dag will remain in the running state until manually marked as failed/success.
What you think should happen instead?
When a dag in the running state is cleared, all tasks should proceed from restarting to up_for_retry.
How to reproduce
In any dag on Airflow 3, clear the dag while in the running state.
Operating System
macOS Sequia 15.6.1
Versions of Apache Airflow Providers
No response
Deployment
Astronomer
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct