apache/airflow
GitHub で見るTasks that are running when a DAG run reaches its timeout should optionally support `on_killed`
Open
#41,036 opened on 2024年7月26日
area:Schedulergood first issuekind:feature
Repository metrics
- Stars
- (44,809 stars)
- PR merge metrics
- (平均マージ 7d 18h) (30d で 834 merged PRs)
説明
Description
The current functionality for task instances that are in the running state when a DAG run reaches its timeout is controversial (see #30264). It'd be great if users could optionally allow tasks' on_kill method to be called at this time.
Use case/motivation
Some users would like for externally running workloads (e.g. snowflake, emr, bigquery, etc etc) to stop executing when a DAG run times out.
Related issues
#30264
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct