Skip to content

Prevent deferrable KubernetesPodOperator log parsing from blocking the triggerer event loop#69661

Open
aeroyorch wants to merge 1 commit into
apache:mainfrom
aeroyorch:fix-kpo-trigger-loop-blocking
Open

Prevent deferrable KubernetesPodOperator log parsing from blocking the triggerer event loop#69661
aeroyorch wants to merge 1 commit into
apache:mainfrom
aeroyorch:fix-kpo-trigger-loop-blocking

Conversation

@aeroyorch

@aeroyorch aeroyorch commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Prevent deferrable KubernetesPodOperator log parsing from blocking the triggerer event loop when default_deferrable is True with get_logs and logging_interval set, which stales on verbose pods.
Offload that work to a thread so the loop stays responsive.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Claude Opus 4.8 for tests.


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@boring-cyborg boring-cyborg Bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Jul 9, 2026
@aeroyorch aeroyorch force-pushed the fix-kpo-trigger-loop-blocking branch from d537638 to 324277a Compare July 9, 2026 15:34
@aeroyorch

Copy link
Copy Markdown
Contributor Author

I believe the CI errors are unrelated to the current changes.

@aeroyorch aeroyorch force-pushed the fix-kpo-trigger-loop-blocking branch from 324277a to d446fff Compare July 9, 2026 18:04
@potiuk potiuk added the ready for maintainer review Set after triaging when all criteria pass. label Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues ready for maintainer review Set after triaging when all criteria pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants