priyanshujaiz commented on code in PR #74497: URL: https://github.com/apache/airflow/pull/74497#discussion_r4303393972
########## providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/triggers/job.py: ########## Review Comment: Fixed. Moved XCom extraction after the job-completion loop so it only runs after successful completion, avoiding stale pod references during preemption and readmission. Added `test_run_preemption_with_xcom_push_does_not_read_stale_pods` to verify that no stale-pod XCom operations occur on the preemption path. -- 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]
