amoghrajesh commented on code in PR #77197:
URL: https://github.com/apache/airflow/pull/77197#discussion_r4613274299


##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py:
##########
@@ -1411,6 +1427,15 @@ def cleanup(
         if self._killed or not remote_pod:
             return
 
+        if self._keep_pod_after_timeout:

Review Comment:
   `get_or_create_pod` now treats a `Succeeded` pod as the finished run when 
`do_xcom_push` is off, so the retry does not delete it and start over. Note: 
this also applies to a worker crash retry that finds a finished pod. I added a 
changelog note and handled in 9a43a656c96



-- 
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]

Reply via email to