namanjain24-sudo commented on issue #73006: URL: https://github.com/apache/airflow/issues/73006#issuecomment-5748143826
@AbarnaaSree you mentioned picking this up on 12 Sep — there was no PR after eight days, so I went ahead and opened #73395. Happy to hand it back or have you review it. I fixed it in the task runner rather than in `cleanup()`: `AirflowTaskTerminated` is caught in `_run_task_and_map_outcome` but grepping the tree shows nothing ever raises it, so the raise that Airflow 2 did after `on_kill()` is simply missing. Putting it back covers any operator whose `on_kill` tears down the work in flight, not only `KubernetesPodOperator`. It only fires while the task body is running, so the supervisor's `task_success_overtime` kill still cannot turn a finished task into a failed one. -- 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]
