Skip to content

UI: Fix log line number gaps caused by group markers#65039

Merged
bbovenzi merged 2 commits intoapache:mainfrom
dandanseo123:fix/log-ui-line-number-irregularities
Apr 13, 2026
Merged

UI: Fix log line number gaps caused by group markers#65039
bbovenzi merged 2 commits intoapache:mainfrom
dandanseo123:fix/log-ui-line-number-irregularities

Conversation

@dandanseo123
Copy link
Copy Markdown
Contributor

@dandanseo123 dandanseo123 commented Apr 11, 2026

Description

Group markers (::group:: / ::endgroup::) consumed line number indices but were removed during group processing, leaving gaps in the displayed line numbers (e.g. 0, 2, 3 instead of 0, 1, 2). Also fixed line number alignment on wrapped log lines.

  • Pre-scan log data to assign sequential display line numbers that skip group markers
  • Pin wrapped line numbers to the top with alignItems: flex-start

closes: #47888

Screenshot

Screenshot 2026-04-10 at 8 37 50 PM
Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code

Generated-by: Claude Code following the guidelines

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Apr 11, 2026
@eladkal eladkal added this to the Airflow 3.2.1 milestone Apr 11, 2026
@eladkal eladkal added type:bug-fix Changelog: Bug Fixes backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch labels Apr 11, 2026
@dandanseo123 dandanseo123 force-pushed the fix/log-ui-line-number-irregularities branch 2 times, most recently from 5124744 to 0916e22 Compare April 13, 2026 13:41
Copy link
Copy Markdown
Contributor

@bbovenzi bbovenzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. Just two nits.

@dandanseo123 dandanseo123 force-pushed the fix/log-ui-line-number-irregularities branch from 0916e22 to 1a294e6 Compare April 13, 2026 14:52
@dandanseo123
Copy link
Copy Markdown
Contributor Author

@bbovenzi addressed PR comments!

@dandanseo123 dandanseo123 force-pushed the fix/log-ui-line-number-irregularities branch from 1a294e6 to e630126 Compare April 13, 2026 18:27
@bbovenzi
Copy link
Copy Markdown
Contributor

Thanks! Looks like we just need to fix one react test

hseo36 added 2 commits April 13, 2026 16:10
Group markers (::group:: / ::endgroup::) consumed line number indices
but were removed during group processing, leaving gaps in the displayed
line numbers (e.g. 0, 2, 3 instead of 0, 1, 2).

Pre-scan the log data to assign sequential display line numbers that
skip group markers, and pin wrapped line numbers to the top with
alignItems flex-start.
@dandanseo123 dandanseo123 force-pushed the fix/log-ui-line-number-irregularities branch from a91ab46 to b191fe4 Compare April 13, 2026 20:14
@dandanseo123
Copy link
Copy Markdown
Contributor Author

@bbovenzi fixed

@bbovenzi bbovenzi merged commit 55162a3 into apache:main Apr 13, 2026
81 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 13, 2026
)

* Fix log line number gaps caused by group markers (#47888)

Group markers (::group:: / ::endgroup::) consumed line number indices
but were removed during group processing, leaving gaps in the displayed
line numbers (e.g. 0, 2, 3 instead of 0, 1, 2).

Pre-scan the log data to assign sequential display line numbers that
skip group markers, and pin wrapped line numbers to the top with
alignItems flex-start.

* fix test

---------
(cherry picked from commit 55162a3)

Co-authored-by: Daniel Seo <dseo1004@gmail.com>
Co-authored-by: hseo36 <hseo36@bloomberg.net>
@github-actions
Copy link
Copy Markdown

Backport successfully created: v3-2-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-2-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Apr 13, 2026
…che#65039)

* Fix log line number gaps caused by group markers (apache#47888)

Group markers (::group:: / ::endgroup::) consumed line number indices
but were removed during group processing, leaving gaps in the displayed
line numbers (e.g. 0, 2, 3 instead of 0, 1, 2).

Pre-scan the log data to assign sequential display line numbers that
skip group markers, and pin wrapped line numbers to the top with
alignItems flex-start.

* fix test

---------
(cherry picked from commit 55162a3)

Co-authored-by: Daniel Seo <dseo1004@gmail.com>
Co-authored-by: hseo36 <hseo36@bloomberg.net>
github-actions bot pushed a commit to baraka-akeyless/airflow that referenced this pull request Apr 14, 2026
…che#65039)

* Fix log line number gaps caused by group markers (apache#47888)

Group markers (::group:: / ::endgroup::) consumed line number indices
but were removed during group processing, leaving gaps in the displayed
line numbers (e.g. 0, 2, 3 instead of 0, 1, 2).

Pre-scan the log data to assign sequential display line numbers that
skip group markers, and pin wrapped line numbers to the top with
alignItems flex-start.

* fix test

---------
(cherry picked from commit 55162a3)

Co-authored-by: Daniel Seo <dseo1004@gmail.com>
Co-authored-by: hseo36 <hseo36@bloomberg.net>
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. backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some irregularities on the web UI logs tab

3 participants