anmolxlight opened a new pull request, #66650: URL: https://github.com/apache/airflow/pull/66650
## Summary - Add pod-level terminal-state detection to `KubernetesPodTrigger` - Use pod phase to stop polling when Kubernetes marks the pod as `Failed` or `Succeeded` - Keep container-state fallback for non-terminal pod phases - Update deferrable operator pre-deferral terminal-state check to use pod state ## Tests - `uv run --project providers/cncf/kubernetes pytest providers/cncf/kubernetes/tests/unit/cncf/kubernetes/triggers/test_pod.py -q` - `uv run --project providers/cncf/kubernetes pytest --with-db-init providers/cncf/kubernetes/tests/unit/cncf/kubernetes/operators/test_pod.py::TestKubernetesPodOperatorAsync::test_async_create_pod_should_execute_successfully -q` Closes #66624 -- 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]
