blcksrx commented on PR #31798: URL: https://github.com/apache/airflow/pull/31798#issuecomment-1594397035
> @jherrmannNetfonds Good catch buddy. Since with `watch=True` this operator is responsible for the execution, logs and states of the task, I believe in that case the pod/job should be killed, that's why I overwrited the `on_kill` method to kill it. But apparently the `on_kill` didn't work. @potiuk I believe this behaviour that `on_kill` method did not invokes is because we only catch `AirflowTaskTimeout` https://github.com/apache/airflow/blob/a60429eadfffb5fb0f867c220a6cecf628692dcf/airflow/models/taskinstance.py#L1709-L1718 -- 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]
