The GitHub Actions job "Tests" on airflow.git/main has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
52867d9cc4bbda2223162e01e7dd818327a69efc / SameerMesiah97 
<[email protected]>
AsyncKubernetesHook.watch_pod_events could silently stop emitting events when 
(#60532)

the Kubernetes watch stream ended (e.g. due to timeout_seconds), even while
the pod was still running.

This change reconnects on watch termination, resumes from the last observed
resourceVersion, restarts on stale resourceVersion errors (410), and stops
only when the pod completes or is deleted. Permission-denied watches still fall
back to polling.

As part of this fix, kubeconfig loading is cached and _load_config no longer
returns an API client, clarifying its responsibility and avoiding repeated
config loading during watch reconnects.

Tests cover reconnection behavior, stale resourceVersion recovery, and clean
termination on pod completion or deletion.

Co-authored-by: Sameer Mesiah <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/21371215131

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to