Repository navigation
fix: propagate context updates through lightweight memo scopes - #1696
Merged
Merged
Conversation
mikamikasuki
marked this pull request as ready for review
October 4, 2026 12:55
Contributor
Benchmark report
Compares js-framework: 1k/10k row operations
All 20 timed operations (19 without a verdict)
All 64 work counters are unchanged. Application bundle size (bytes)
8 other measured values are unchanged. Public-import reachability bundles (bytes)
36 other measured values are unchanged. |
…-scopes Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 of 5 tasks
trueadm
added a commit
that referenced
this pull request
Oct 4, 2026
…opes (#1709) Budget-only raise for #1696, which fixes #1695. LiteBlockImpl now copies its parent's memoInChain, adding 31 raw bytes to every bundle that mounts a lightweight component. Each raised value is #1696's measured bytes on its head merged with main 77504c1, plus the usual headroom. Co-authored-by: Claude Opus 5.5 <[email protected]>
…-scopes Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-scopes Co-Authored-By: Claude Opus 5.5 <[email protected]>
trueadm
added a commit
that referenced
this pull request
Oct 4, 2026
Main took #1709, which raised the same app budgets for #1696. Re-measure #1702 on its head da7c31d (merged with main c16fe6d), and keep #1709's reservation for #1696 on top of measured + 32, so the two fixes can land in either order. chat.framework.brotli no longer needs a raise. Co-Authored-By: Claude Opus 5.5 <[email protected]>
2 of 5 tasks
trueadm
added a commit
that referenced
this pull request
Oct 4, 2026
…1711) * ci(bench): raise app byte budgets for the superseded pending arm fix Budget-only raise for #1702, which fixes #1698. Each raised value is the measured production bytes on #1702's head f028149 (merged with main 77504c1) plus the usual headroom: 32 raw and gzip, 256 brotli. Only the 17 breached values move. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci(bench): re-measure the superseded pending arm budgets on current main Main took #1709, which raised the same app budgets for #1696. Re-measure #1702 on its head da7c31d (merged with main c16fe6d), and keep #1709's reservation for #1696 on top of measured + 32, so the two fixes can land in either order. chat.framework.brotli no longer needs a raise. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[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.
Summary
Validation
pnpm syncpnpm format:check— ran the targetedpnpm format:files:checkinstead; it passed.pnpm typecheck— ran the targetedpnpm typecheck:filesinstead; it passed.pnpm test— the complete Vitest tree was run directly, but the single-command run began before Playwright Chromium was installed.504 Outdated Optimize Dep; the affected file passed alone (6/6), and the full browser rerun passed.pnpm format:files:check,pnpm typecheck:files, andgit diff --checkpassed.Risk / follow-ups
Provenance
agent-authored)Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Medium Risk
Changes memo-bailout context refresh in the core runtime using a broader subtree walk; behavior is covered by new tests but touches update scheduling for context consumers.
Overview
Fixes lazy context propagation when a
memoboundary bails on props but descendants still consume an updated provider: context refresh now walks the tree with the sharedforEachSubtreeChildpath instead of only iterating_slotson the memo block.LiteBlockImplinheritsmemoInChainfrom its parent block so hookless lightweight scopes keep correct memo ancestry during that walk. A newrefreshContextSubtreestep treats real blocks as context refresh targets and recurses through lightweight scopes (wherescope !== block) so consumers under nested lite components are no longer skipped.Adds a regression fixture covering retained
Activitychildren with and withoutmemo, asserting updated context text without replacing DOM nodes.Reviewed by Cursor Bugbot for commit 150b57a. Bugbot is set up for automated code reviews on this repo. Configure here.