Skip to content

[v3-4-test] Run team tasks on the team executor when named by class or path (#75362) - #75436

Merged
vatsrahul1001 merged 1 commit into
v3-4-testfrom
backport-0abd161-v3-4-test
Oct 23, 2026
Merged

vatsrahul1001 merged 1 commit into
v3-4-testfrom
backport-0abd161-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

With multi-team enabled, a team task that names its executor by class
name or module path (e.g. executor="CeleryExecutor") is documented to
run on its team's executor of that class. Only the global alias should
reach the global executor ("Aliasing Executors Across Teams" in the
multi-team docs).

The scheduler took the first matching executor instead, and global
executors are always listed before team ones. So these tasks silently
ran on the shared global executor, outside the team boundary, and
anything resolving executors the documented way (such as reading live
task logs) looked in the wrong place.
(cherry picked from commit 0abd161)

Co-authored-by: Niko Oliveira onikolas@apache.org

…r path (#75362)

With multi-team enabled, a team task that names its executor by class
name or module path (e.g. executor="CeleryExecutor") is documented to
run on its team's executor of that class. Only the global alias should
reach the global executor ("Aliasing Executors Across Teams" in the
multi-team docs).

The scheduler took the first matching executor instead, and global
executors are always listed before team ones. So these tasks silently
ran on the shared global executor, outside the team boundary, and
anything resolving executors the documented way (such as reading live
task logs) looked in the wrong place.
(cherry picked from commit 0abd161)

Co-authored-by: Niko Oliveira <onikolas@apache.org>
@o-nikolas
o-nikolas marked this pull request as ready for review October 22, 2026 23:34
@vatsrahul1001
vatsrahul1001 merged commit 78a9bdc into v3-4-test Oct 23, 2026
133 of 138 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-0abd161-v3-4-test branch October 23, 2026 10:13
@github-actions github-actions Bot added this to the Airflow 3.4.1 milestone Oct 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Hi maintainer, this PR was merged without a milestone set.
We've automatically set the milestone to Airflow 3.4.1 based on: merged to version branch
If this milestone is not correct, please update it to the appropriate milestone.

This comment was generated by Milestone Tag Assistant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants