Skip to content

Fix KubernetesExecutor not queuing tasks on Airflow 3.0.x - #73764

Merged
shahar1 merged 1 commit into
apache:mainfrom
anishgirianish:fix-k8s-executor-queue-workload-airflow-30
Sep 28, 2026
Merged

shahar1 merged 1 commit into
apache:mainfrom
anishgirianish:fix-k8s-executor-queue-workload-airflow-30

Conversation

@anishgirianish

Copy link
Copy Markdown
Contributor

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

#63491 dropped the queue_workload override, but on 3.0.x the base method raises, so the scheduler falls back to queue_command() and the executor fails on every heartbeat. The amazon executors kept theirs behind if not AIRFLOW_V_3_1_PLUS; this does the same for k8s and adds a test so the
3.0.6 compat job catches it.

related: #63491

Found while testing cncf.kubernetes 10.23.0rc1 in #73658


  • 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.

@anishgirianish

Copy link
Copy Markdown
Contributor Author

cc @shahar1

@SameerMesiah97 SameerMesiah97 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is red but that is just due to some minor formatting issue so fix it and push again.

Looks good otherwise.

@anishgirianish
anishgirianish force-pushed the fix-k8s-executor-queue-workload-airflow-30 branch from 876aa25 to eaf53af Compare September 26, 2026 20:39
@shahar1
shahar1 merged commit dbac03d into apache:main Sep 28, 2026
108 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants