Skip to content

[v3-3-test] Fix copying task logs dropping rows that scrolled out of view (#71156) - #72729

Merged
vatsrahul1001 merged 1 commit into
v3-3-testfrom
backport-30f782cd67-v3-3-test
Sep 8, 2026
Merged

vatsrahul1001 merged 1 commit into
v3-3-testfrom
backport-30f782cd67-v3-3-test

Conversation

@vatsrahul1001

Copy link
Copy Markdown
Contributor

Backport of #71156 to v3-3-test for the Airflow 3.3.2 patch release.

Clean cherry-pick (no conflicts).

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

The task log viewer only renders the visible rows. Copying a selection uses
the browser's default copy, which serializes only the rows currently in the
DOM, so rows the viewer has unmounted are silently missing from the copied
text.

Rebuild the missing rows from log data, using the same text pipeline as the
log download. The rebuild reads row text programmatically, which ignores the
CSS that keeps the line-number links out of a normal copy, so strip those
links too and leave single-row, fully-mounted, and multi-range selections to
the browser.

(cherry picked from commit 30f782c)
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Sep 8, 2026
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.3.2 milestone Sep 8, 2026
@vatsrahul1001 vatsrahul1001 added the type:bug-fix Changelog: Bug Fixes label Sep 8, 2026
@vatsrahul1001
vatsrahul1001 merged commit d5fcf73 into v3-3-test Sep 8, 2026
83 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-30f782cd67-v3-3-test branch September 8, 2026 19:05
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. type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants