Repository navigation
[v3-3-test] Fix copying task logs dropping rows that scrolled out of view (#71156) - #72729
Merged
Merged
Conversation
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)
vatsrahul1001
requested review from
bbovenzi,
choo121600,
guan404ming,
pierrejeambrun,
ryanahamilton and
shubhamraj-git
as code owners
September 8, 2026 17:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #71156 to
v3-3-testfor the Airflow 3.3.2 patch release.Clean cherry-pick (no conflicts).
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 4.8) following the guidelines