jscheffl opened a new pull request, #45530: URL: https://github.com/apache/airflow/pull/45530
Related to Slack topic: https://apache-airflow.slack.com/archives/CCR6P6JRL/p1736440079894049 We noticed that if a DAG run is set to failed, all tasks are either set to failed or skipped. But if Teardown Tasks are used in a DAG, they are not executed. This could lead to infrastructure or external dependencies not properly cleaned-up. This PR changes the behavior and does NOT fail/skip teardown tasks if a DAG is set to failed. A side effect as consequence might be that the DAG is after the call NOT failed, else if it would set it to failed, then any teardown task (even if not skipped/failed) will not scheduled anymore. -- 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]
