Skip to content

[v3-4-test] Hide empty log groups in the task log view (#75686) - #75801

Merged
bbovenzi merged 1 commit into
v3-4-testfrom
backport-8f7a8e4-v3-4-test
Oct 27, 2026
Merged

bbovenzi merged 1 commit into
v3-4-testfrom
backport-8f7a8e4-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

The task runner always opens a "Post Execute" log group after execute()
returns, but for a plain task nothing is logged at INFO before it is
closed, so the UI showed a section header that expanded to nothing.

When parsing logs, drop a group header if the group closes with no
entries in it. A parent containing only empty groups is dropped too.
Unclosed groups are kept so a running task still shows its current
section.
(cherry picked from commit 8f7a8e4)

Co-authored-by: Jed Cunningham 66968678+jedcunningham@users.noreply.github.com

The task runner always opens a "Post Execute" log group after execute()
returns, but for a plain task nothing is logged at INFO before it is
closed, so the UI showed a section header that expanded to nothing.

When parsing logs, drop a group header if the group closes with no
entries in it. A parent containing only empty groups is dropped too.
Unclosed groups are kept so a running task still shows its current
section.
(cherry picked from commit 8f7a8e4)

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 27, 2026
@bbovenzi
bbovenzi marked this pull request as ready for review October 27, 2026 15:39
@bbovenzi
bbovenzi merged commit d563b90 into v3-4-test Oct 27, 2026
2 of 5 checks passed
@bbovenzi
bbovenzi deleted the backport-8f7a8e4-v3-4-test branch October 27, 2026 15:40
@github-actions github-actions Bot added this to the Airflow 3.4.1 milestone Oct 27, 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:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants