ksp2000 opened a new issue, #53136: URL: https://github.com/apache/airflow/issues/53136
### Description Currently, Airflow provides several trigger rules for task execution based on the state of upstream tasks. However, there is no trigger rule that allows a task to run only when all upstream tasks are done (regardless of their outcome), and at least one of them has failed. Introducing a new trigger rule, `all_done_min_one_fail`, would fill this gap. ### Use case/motivation This trigger rule would be useful in scenarios where downstream tasks should only execute after all upstream tasks have completed, but only if at least one of those upstream tasks has failed. For example, this could be used to trigger alerting, remediation, or rollback tasks in complex workflows where failure handling is required after all processing attempts are finished. ### Related issues _No response_ ### Are you willing to submit a 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]
