GitHub user maratbakiev2 closed a discussion: on_failure_callback when the DAG 
(not a task) fails

Airflow has an option to execute a specific function when task fails 
(on_failure callback), but this functionality doesn't cover the following case:
1. We have a dag timeout of 2 hours
2. After timeout DAG state marked as failed while task state marked as skipped
3. So we have failed DAG but no alert

My request is to add the analogue of on_failure_callback but for the state of 
the DAG, not task

GitHub link: https://github.com/apache/airflow/discussions/38897

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to