Skip to content

Enforce at least one global executor is configured#55816

Merged
o-nikolas merged 2 commits into
apache:mainfrom
aws-mwaa:onikolas/enforce_global_exec
Sep 19, 2025
Merged

Enforce at least one global executor is configured#55816
o-nikolas merged 2 commits into
apache:mainfrom
aws-mwaa:onikolas/enforce_global_exec

Conversation

@o-nikolas

Copy link
Copy Markdown
Contributor

There are various processes in Airflow that are not yet team-ified and that rely on executors (serving logs, callback handling) so for now, enforce that at least one global executor is present to be used for such things. This can be revisited and relaxed at a future time.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

There are various processes in Airflow that are not yet team-ified and
that rely on executors (serving logs, callback handling) so for now,
enforce that at least one global executor is present to be used for such
things. This can be revisited and relaxed at a future time.
@boring-cyborg boring-cyborg Bot added the area:Executors-core LocalExecutor & SequentialExecutor label Sep 18, 2025
@o-nikolas o-nikolas requested a review from vincbeck September 18, 2025 03:00
@o-nikolas

Copy link
Copy Markdown
Contributor Author

CC @vincbeck @ramitkataria

@vincbeck

Copy link
Copy Markdown
Contributor

Some tests failing

Comment thread airflow-core/tests/unit/executors/test_executor_loader.py Outdated
Some changes from another branch got mixed into this.
@ashb ashb changed the title Enforce one global executor Enforce at least one global executor is configured Sep 19, 2025
@o-nikolas o-nikolas merged commit a0d5b71 into apache:main Sep 19, 2025
60 checks passed
@o-nikolas o-nikolas deleted the onikolas/enforce_global_exec branch September 19, 2025 17:06
KatalKavya96 pushed a commit to KatalKavya96/airflow that referenced this pull request Sep 22, 2025
There are various processes in Airflow that are not yet team-ified and
that rely on executors (serving logs, callback handling) so for now,
enforce that at least one global executor is present to be used for such
things. This can be revisited and relaxed at a future time.
@o-nikolas o-nikolas added the multi-team - aip-67 Issues related to multi-team (AIP-67) label Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Executors-core LocalExecutor & SequentialExecutor multi-team - aip-67 Issues related to multi-team (AIP-67)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants