gingeekrishna commented on PR #67030:
URL: https://github.com/apache/airflow/pull/67030#issuecomment-4694829339

   Hi @eladkal — fixed! The test failure had two root causes in 
`_cleanup_zombie_kpo_pods`:
   
   1. **No phase filter** — the pod list included all pods (Pending, Completed, 
newly submitted), not just Running ones as the feature intends. Added 
`field_selector="status.phase=Running"` to scope it correctly.
   2. **No age guard** — a pod with no matching TaskInstance in the DB 
(including system-test pods like `dag_id="dag"`) was immediately treated as a 
zombie and force-deleted. Added a minimum-age check: pods younger than 
`zombie_kpo_pod_cleanup_interval` seconds are now skipped.
   
   Also rebased onto `main` to clean up the merge commits from the diff.


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