canyang25 opened a new pull request, #74206:
URL: https://github.com/apache/airflow/pull/74206
A KubernetesPodOperator task fails when its pod is deleted before it has
started. The next status read is HTTP 404, and with retries=0 the task fails
even though no work ran.
On the synchronous path, treat that 404 as safe to recover from only when
the pod has not been observed started (phase Running, Succeeded, or Failed, or
the base container already running or terminated). Launch a replacement, up to
three times. After the pod has started, the same 404 still fails the task.
closes: #59626
Was generative AI tooling used to co-author this PR?
Yes (please specify the tool below)
Generated-by: Cursor cloud agent (Grok) following the guidelines at
[github.com/apache/airflow/blob/main/contributing-docs](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
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]