jessicaschueler opened a new issue, #55045: URL: https://github.com/apache/airflow/issues/55045
### 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. <img width="1551" height="916" alt="Image" src="https://github.com/user-attachments/assets/e06b51dc-7c34-4310-9a5c-f09d68a1cb63" /> <img width="1565" height="928" alt="Image" src="https://github.com/user-attachments/assets/8c4cfd94-f57e-4b71-9ac0-da7c64c4fe48" /> ### 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? - [ ] 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) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
