Skip to content

[v3-4-test] Read a team's running task logs through the team's executor (#75255) - #75408

Merged
vatsrahul1001 merged 1 commit into
v3-4-testfrom
backport-1e3a232-v3-4-test
Oct 22, 2026
Merged

vatsrahul1001 merged 1 commit into
v3-4-testfrom
backport-1e3a232-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

In multi-team mode, the API server reads a running task's logs through the
global default executor, or looks up the task's named executor in the
global scope only. A team's executor has its own config, such as the
cluster its KubernetesExecutor pods run on, so a team task's live logs came
from the wrong executor: nothing from a global LocalExecutor, or "Cannot
find pod" from a global KubernetesExecutor on another cluster.

Resolve the executor the same way the scheduler does: the team's executor,
and a global one if the team doesn't have it.
(cherry picked from commit 1e3a232)

Co-authored-by: Sean Ghaeli 58916776+seanghaeli@users.noreply.github.com

…or (#75255)

In multi-team mode, the API server reads a running task's logs through the
global default executor, or looks up the task's named executor in the
global scope only. A team's executor has its own config, such as the
cluster its KubernetesExecutor pods run on, so a team task's live logs came
from the wrong executor: nothing from a global LocalExecutor, or "Cannot
find pod" from a global KubernetesExecutor on another cluster.

Resolve the executor the same way the scheduler does: the team's executor,
and a global one if the team doesn't have it.
(cherry picked from commit 1e3a232)

Co-authored-by: Sean Ghaeli <58916776+seanghaeli@users.noreply.github.com>
@github-actions
github-actions Bot force-pushed the backport-1e3a232-v3-4-test branch from 4e95d31 to 5db0da9 Compare October 22, 2026 13:42
@vincbeck
vincbeck marked this pull request as ready for review October 22, 2026 13:45
@vatsrahul1001
vatsrahul1001 merged commit 63f9ab0 into v3-4-test Oct 22, 2026
124 of 135 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-1e3a232-v3-4-test branch October 22, 2026 18:18
@github-actions github-actions Bot added this to the Airflow 3.4.1 milestone Oct 22, 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

Labels

area:Executors-core LocalExecutor & SequentialExecutor area:logging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants