Repository navigation
Avoid unchanged writes when opening native diff disclosures - #3545
Merged
Merged
Conversation
leaf-agent
added a commit
that referenced
this pull request
Oct 22, 2026
The browser shift watcher marked the next diff file's movement during a native disclosure close as unprompted. In the failing file-tree case, the closing `details` shrank over successive frames, but Chrome returned no animation from its shadow root's `getAnimations()` for the `::details-content` transition. The watcher now follows the closing interval after an `open` mutation, reads each frame, and credits only matching upward movement of a later box in the same flow. The file-tree patch case failed on current main with an uncredited 8 px move and passed with this change. Focused checks passed 87 shift-watcher and diff-header cases; the file-view case in that selection still reported the separate unchanged `open` write addressed by #3545. Pre-commit passed. This addresses the motion findings in [main CI run 39741006770](https://github.com/max-sixty/leaf/actions/runs/39741006770). Co-authored-by: leaf-agent <[email protected]>
leaf-agent
added a commit
that referenced
this pull request
Oct 22, 2026
Chromium reported the same lazy image issue twice for one iframe in each color scheme in [main CI run 39750772164](https://github.com/max-sixty/leaf/actions/runs/39750772164). The render gate test treated the event count as part of its contract and failed, even though it located every expected issue at the correct authored node. Compare the reported scheme, node, and issue type as a set; keep checking every issue's media URL. The focused render gate case passes on this branch. The other failures in that run have separate fixes on `main` in #3545–#3548. Co-authored-by: leaf-agent <[email protected]>
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.
Native diff and call-tree disclosures wrote
openeven when it already held the requested value. The browser write watcher reported these repeated writes across diff navigation and projection tests. This change checks the current state before each write, retaining the same disclosure behavior.The failure appears in main CI run 39741006770, after #3536 moved these controls to native details. The changed-file, call-tree continuity, and phone-header browser cases passed locally, as did
pnpm run check:browser.