You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/01/14 17:48:40 UTC

[GH] (airflow/60495-Watch-Pod-Events-Fix): Workflow run "Tests" is working again!

The GitHub Actions job "Tests" on airflow.git/60495-Watch-Pod-Events-Fix has succeeded.
Run started by GitHub user SameerMesiah97 (triggered by SameerMesiah97).

Head commit for run:
3d9131c56c2f4b2129712fb09e8e8482cab48f14 / Sameer Mesiah <sm...@gmail.com>
AsyncKubernetesHook.watch_pod_events could silently stop emitting events when
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.

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org