Repository navigation
Fix Draw release scaling, draft return, and re-vendored deliveries - #3080
Merged
Merged
Conversation
Group document Copy controls with their header clipping frames so transient chrome does not invalidate a page-wide sibling family. Let one final arrival place a resumed editor and its passage. Activate valid refreshed artifacts before re-vendor returns, preserving invalid-source and historical-revision behavior. The historical server test now expects a current revision without an extra markup edit; margin-work metrics include settled work at both boundaries.
leaf-agent
previously approved these changes
Oct 16, 2026
Keep the corpus mutation observer and geometry checks active through deferred paints, with the existing work budget unchanged. The renamed-vocabulary server test now inspects the valid revision that re-vendoring activates instead of creating an unrelated third revision.
leaf-agent
previously approved these changes
Oct 16, 2026
# Conflicts: # skills/leaf/kernel/kernel.json
leaf-agent
approved these changes
Oct 16, 2026
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.
Draw-mode release on a long page repeatedly restyled every document Copy control when transient chrome appeared. Keep the controls and their clipping frames in one stable home so those insertions do bounded native style work. In a matched 800-card probe, complete release fell from 1,361 ms to 476 ms and the longest task from 533 ms to 150 ms, with the same number of computed-style queries. Capture still walks offscreen DOM, so #2775 remains open for that residual work.
Returning to an earlier comment draft now lets the ordinary final arrival place its editor and passage together, removing a competing preparatory instant scroll. Re-vendoring activates valid source with its refreshed layer before returning, so an immediate wait delivers current CLI instructions while preserving custom handling, invalid-source refusal and immutable history. The margin-work measurements now wait for completed work at both boundaries, keeping mutation and geometry checks active through deferred paints without changing their budgets; the historical 69-layout failure remains unexplained.
Closes #2523. Part of #2415, #2775 and #2793.
Validation: focused browser regressions and sibling routes; 57 focused initialization, delivery, locking and historical-revision cases; independent code and live interaction review; pre-commit; browser rebuild; pnpm checks. The native invalidation regression compares 60 Copy controls with one and uses affected-element counts rather than a time limit. The draft-return race reproduction remains probabilistic.
Thanks to @leaf-agent for the reports and reproductions.