Repository navigation
Use native state, disclosure and streaming primitives - #3536
Merged
Merged
Conversation
leaf-agent
approved these changes
Oct 22, 2026
leaf-agent
added a commit
that referenced
this pull request
Oct 22, 2026
Native diff and call-tree disclosures wrote `open` even 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](https://github.com/max-sixty/leaf/actions/runs/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`. 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.
Remove ten maintained integration mechanisms by giving state notifications, disclosure motion, JSON equality, schema diagnostics and stream framing to their existing dependency or platform owner. Internal state publications transfer ownership instead of cloning values already copied at the public widget boundary.
Diff and call-tree disclosures now use native details and CSS transitions, including CSS interactivity to retire closed controls. Openings and summary keyboard closures are instant; rapid reopening jumps to full size, and other closure routes may animate. The Worker uses native stream piping and eventsource-parser while retaining chunk ownership and content-free model diagnostics.
The change also removes predictive sandbox configuration advice and automatic retries for rejected asset pushes and failed journey startup. Actual permission failures, durable failure receipts and explicit retries remain. Boolean registry predicates consistently mean attribute presence; string predicates use native JSON Schema validation.
The combined diff removes 374 maintained lines: 332 source lines (including comments and blanks), 57 test lines, offset by 15 added documentation lines. Vendor, compiled bundles and lockfile output are excluded.
Validation:
pnpm run check, all pre-commit hooks, focused Python/process and developer-tool checks, composed Chromium/Firefox disclosure and reconnect checks, and an animation mutation check. The release-notes startup comparison against current main loads the same 46 requests and 367 fewer bytes through first authoritative presentation, with no console errors or layout shifts.CI completed with 1946 Python tests passed, 8 skipped and two inherited failures: a disappearing claim directory in the superseded-waiter test, and the saved-record publication-date test calling
asyncio.run()while Playwright’s session loop is active. Both exact errors reproduce against unchanged main commitcb60147eb; the affected source is also unchanged in latest main59a1755f6. All other checks completed, and automated review approved this exact head. Repository guidance permits landing failures not caused by the change.