Vamsi-klu opened a new pull request, #66657: URL: https://github.com/apache/airflow/pull/66657
This fixes the broken "Kubernetes Pod" extra link on `GKEStartPodOperator` task instances. What this changes: - persist the pod link payload after pod creation in the synchronous execution path, including cases where execution later fails - persist the same payload before deferring in the deferrable execution path so the link is available consistently across both modes - add regression tests covering sync success and failure, deferrable persistence, skip cases when no pod or context is available, and the final GKE console URL format Impact: - the "Kubernetes Pod" extra link now resolves to the live GKE pod details page instead of rendering a dead link - failed `GKEStartPodOperator` tasks remain debuggable from the UI because the pod link is preserved once the pod exists - sync and deferrable runs now expose the same extra-link behavior Validation: - `prek run --from-ref upstream/main --stage pre-commit` - `.venv/bin/uv run --project providers/google pytest providers/google/tests/unit/google/cloud/operators/test_kubernetes_engine.py::TestGKEStartPodOperator -xvs` closes: #46658 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Codex (GPT-5) Generated-by: Codex (GPT-5) following [the guidelines](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]
