Skip to content

Remove workers section deprecation & simplify Workers Sets template logic - #66671

Merged
jscheffl merged 3 commits into
apache:mainfrom
Miretpl:remove-workers-dep
Jun 12, 2026
Merged

jscheffl merged 3 commits into
apache:mainfrom
Miretpl:remove-workers-dep

Conversation

@Miretpl

@Miretpl Miretpl commented May 10, 2026 •

Copy link
Copy Markdown
Contributor

related: #64037

Removal of all backward compatibility things related to the separation of workers section to workers.celery/workers.kubernetes sections.

Out of curiosity, I did a test execution time comparison locally before and after:

Test set Before (s) After (s)
airflow_aux 321.34 303.08
airflow_core 428.3 318.89
apiserver 21.74 22.02
dagprocessor 10.9 11.81
otel_collector 43.17 41.78
other 162.15 138.69
redis 18.57 17.02
security 112.75 92.45
statsd 22.56 19.7

Follow-up to this PR (I think this one is big enough, and some not directly related things can be separated):

  1. Refactor service account role binding tests - some tests are not needed, some need a little refactoring
  2. Documentation updates which I've could miss here
  3. Some potential ideas for optimalization of current mechanism (if it will be possible in some reasonable manner)
  4. Other things which I've missed

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

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

@Miretpl

Miretpl commented May 10, 2026

Copy link
Copy Markdown
Contributor Author

All tests passed locally. Conflicts due to merged #66626, so it's not something really big.

@potiuk

potiuk commented May 26, 2026

Copy link
Copy Markdown
Member

@Miretpl A few things need addressing before review — see our Pull Request quality criteria.

  • ❌ Merge conflicts. See docs.

No rush.


Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you.


Drafted-by: Claude Code (Opus 4.7); reviewed by @potiuk before posting

@Miretpl
Miretpl force-pushed the remove-workers-dep branch 5 times, most recently from 2e7501b to 4f8da4d Compare June 12, 2026 15:03
@Miretpl
Miretpl force-pushed the remove-workers-dep branch from 4f8da4d to 72e34d3 Compare June 12, 2026 16:29
@Miretpl
Miretpl force-pushed the remove-workers-dep branch from 72e34d3 to d06a69f Compare June 12, 2026 16:37
@Miretpl
Miretpl marked this pull request as ready for review June 12, 2026 16:38
@Miretpl Miretpl changed the title Remove workers section deprecation & simplify template logic Remove workers section deprecation & simplify Workers Sets template logic Jun 12, 2026

@jscheffl jscheffl 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.

Wow, this was a longer scroll. Big one!

@jscheffl
jscheffl merged commit 44d9bfa into apache:main Jun 12, 2026
134 of 158 checks passed
@Miretpl
Miretpl deleted the remove-workers-dep branch June 13, 2026 14:01
imrichardwu pushed a commit to imrichardwu/airflow that referenced this pull request Jun 16, 2026
… logic (apache#66671)

* Adjust tests

* Remove workers deprecated fields & simplify logic

* Simplify rbac test cases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:helm-chart Airflow Helm Chart

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants