You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 02f88bb
Browse filesBrowse the repository at this point in the historyBrowse files
fix(signals): a re-armed Loading leaves an outer Errored's readers alone (#4373 review)
arm() hands a re-armed Loading's pending readers to it alone by deleting
them from outer boundaries. With readers keyed by reader, that also
deleted an outer error boundary's entry, so the Errored healed while its
source was still in flight (D-39). Only outer loading boundaries drop
them now. The held fold-back in boundarySeam tests each entry's source,
as it did before the map.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015hPxMkC3jg3Uivh65gvaf2
Copy file name to clipboardExpand all lines: scripts/size/scenarios.js
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2660,9 +2660,9 @@ module.exports = [
2660
2660
// A projection unchained from a store proxy tells its readers (#4361, 2026-10-28, over next @ 6b7e34a, after #4337): cap 31.80 KB unchanged, recorded minified 96,944 -> 96,958 B (+14 B minified over next); measured over next @ ffe0c1c5 at +1 B brotli. A keyed projection whose derive returned another store's proxy, then a plain array, reconciled the array against the live proxy, which already read the source's next frame, so no leaf or container heard the change and the frame stalled; a live chained base now writes every node (node equality judges each) and its container. Correctness. Recorded minified = measured; CI re-bases.
2661
2661
// Derived-store leaf served its staging while the derive has never committed (#4355, 2026-10-28, over next @ 5f60713a, after #4361): cap 31.80 KB unchanged, recorded minified 96,958 -> 96,977 B (+19 B), measured locally (linux) at 31,743 B brotli, under the cap. A verdict reader (a memo over a derive that reads `latest()`) was served a never-landed derived store's seed for one pass; the store's `nodeValue` now serves the leaf's staging while the family's derive is uninitialized (+19 B minified, store engine only). Correctness.
2662
2662
// A verdict memo leaving its lane on an outside write wakes its reader (#4367, 2026-10-28, over next @ 6b792a95, after #4355): cap 31.80 KB unchanged, recorded minified 96,977 -> 96,978 B (+1 B minified over next), measured locally (linux) at 31,736 B brotli. A pass outside any transaction's flush that leaves a shown lane wakes its readers at the seam even while the lane's frame is held; the guess-take read moved behind `guessed` pays for it in the bundles without optimism (-2 B minified there).
2663
-
// An Errored heals when the last reader that caught its error is disposed (#4373, 2026-10-28, over next @ 6b792a95, after #4355; re-recorded over next @ b68942ca): cap 31.80 KB unchanged, recorded minified 96,978 -> 97,013 B (+35 B minified over next's record, measured locally on linux; every boundary-carrying scenario pays the same +38–52 B, inside its recorded minified except this one, which sat at its cap). A boundary's readers become a reader -> source map, so an error boundary waits on what threw only while a reader that caught it is alive. Correctness (Ryan's ruling on #4373). Recorded minified = measured.
2663
+
// An Errored heals when the last reader that caught its error is disposed (#4373, 2026-10-28, over next @ 6b792a95, after #4355; re-recorded over next @ b68942ca): cap 31.80 KB unchanged, recorded minified 96,978 -> 97,023 B (+45 B minified over next's record, measured locally on linux; every boundary-carrying scenario pays the same +38–52 B, inside its recorded minified except this one, which sat at its cap). A boundary's readers become a reader -> source map, so an error boundary waits on what threw only while a reader that caught it is alive. Correctness (Ryan's ruling on #4373). Recorded minified = measured.
2664
2664
limit: "31.80 KB",
2665
-
capMinified: 97013,
2665
+
capMinified: 97023,
2666
2666
alias
2667
2667
},
2668
2668
{
@@ -5739,9 +5739,9 @@ module.exports = [
5739
5739
// Bug-fix batch (2026-10-26, over next @ 95dd480f): 41.47 KB -> 41.56 KB, recorded minified 123,120 -> 123,192 B (+72 B), measured in CI at 41,547 B brotli. Same growth as the live floor: the 2026-10-26 bug-fix batch: #4279 hydrated Errored runs its content in the hydration pass (+82 B minified), #4281 latest()-first throw (+51), #4280 derived store follows a memo's pending/errors (+15), #4277 outer boundary recovers after an inner rethrow (+11), #4278 per-key isPending (+11), net of #4261 moveBefore (-39) and layout. Accepted by the maintainer (2026-10-26). Cap at measured + 10 B rounded up to 0.01 KB; recorded minified = measured.
5740
5740
// Off-screen fallback disposed in the pass that picks content (#4282 / #4268, 2026-10-26, over next @ fbd375d1): cap 41.56 KB unchanged, recorded minified 123,192 -> 123,216 B (+24 B; +24 B over next), measured in CI at 41,531 B brotli. A re-armed Loading disposes a fallback its committed output does not show in that pass, so the fallback's pending render effects stop holding the frame. Size-Exception accepted by the maintainer (2026-10-26). Cap at measured + 10 B rounded up to 0.01 KB, never lowered; recorded minified = measured.
5741
5741
// An isPending() probe wakes a dormant memo outside its window (#4366, 2026-10-28, over next @ 5f60713a): cap 41.56 KB unchanged, recorded minified 123,216 -> 123,182 B (+6 B minified over next), measured locally (linux) at 41,831 B brotli. A lazy or dormant memo (an unowned memo left with no reader) woken by a read inside `isPending`/`latest` recomputed inside the probe's window, so it derived from its sources' committed values; the wake now runs outside it, as a pull does (A31). Correctness. Recorded minified = measured; CI re-bases.
5742
-
// An Errored heals when the last reader that caught its error is disposed (#4373, 2026-10-28, re-recorded over next @ b68942ca): cap 41.56 KB unchanged, recorded minified 123,182 -> 123,218 B (+36 B minified over next's record), measured locally (linux) at 41,866 B brotli. A boundary's readers become a reader -> source map, so an error boundary waits on what threw only while a reader that caught it is alive. Correctness (Ryan's ruling on #4373). Recorded minified = measured; CI re-bases.
5742
+
// An Errored heals when the last reader that caught its error is disposed (#4373, 2026-10-28, re-recorded over next @ b68942ca): cap 41.56 KB unchanged, recorded minified 123,182 -> 123,228 B (+46 B minified over next's record), measured locally (linux) at 41,856 B brotli. A boundary's readers become a reader -> source map, so an error boundary waits on what threw only while a reader that caught it is alive. Correctness (Ryan's ruling on #4373). Recorded minified = measured; CI re-bases.
5743
5743
limit: "41.56 KB",
5744
-
capMinified: 123218,
5744
+
capMinified: 123228,
5745
5745
alias: pageAlias
5746
5746
},
5747
5747
{
@@ -6121,9 +6121,9 @@ module.exports = [
6121
6121
// Bug-fix batch (2026-10-26, over next @ 95dd480f): 47.01 KB -> 47.11 KB, recorded minified 140,402 -> 140,456 B (+54 B), measured in CI at 47,099 B brotli. Same growth as the live floor: the 2026-10-26 bug-fix batch: #4279 hydrated Errored runs its content in the hydration pass (+82 B minified), #4281 latest()-first throw (+51), #4280 derived store follows a memo's pending/errors (+15), #4277 outer boundary recovers after an inner rethrow (+11), #4278 per-key isPending (+11), net of #4261 moveBefore (-39) and layout. Accepted by the maintainer (2026-10-26). Cap at measured + 10 B rounded up to 0.01 KB; recorded minified = measured.
6122
6122
// Off-screen fallback disposed in the pass that picks content (#4282 / #4268, 2026-10-26, over next @ fbd375d1): 47.11 KB -> 47.16 KB, recorded minified 140,456 -> 140,480 B (+24 B; +24 B over next), measured in CI at 47,148 B brotli. A re-armed Loading disposes a fallback its committed output does not show in that pass, so the fallback's pending render effects stop holding the frame. Size-Exception accepted by the maintainer (2026-10-26). Cap at measured + 10 B rounded up to 0.01 KB, never lowered; recorded minified = measured.
6123
6123
// An isPending() probe wakes a dormant memo outside its window (#4366, 2026-10-28, over next @ 5f60713a): cap 47.16 KB unchanged, recorded minified 140,480 -> 140,442 B (+24 B minified over next), measured locally (linux) at 47,465 B brotli. A lazy or dormant memo (an unowned memo left with no reader) woken by a read inside `isPending`/`latest` recomputed inside the probe's window, so it derived from its sources' committed values; the wake now runs outside it, as a pull does (A31). Correctness. Recorded minified = measured; CI re-bases.
6124
-
// An Errored heals when the last reader that caught its error is disposed (#4373, 2026-10-28, re-recorded over next @ b68942ca): cap 47.16 KB unchanged, recorded minified 140,442 -> 140,475 B (+33 B minified over next's record), measured locally (linux) at 47,480 B brotli. A boundary's readers become a reader -> source map, so an error boundary waits on what threw only while a reader that caught it is alive. Correctness (Ryan's ruling on #4373). Recorded minified = measured; CI re-bases.
6124
+
// An Errored heals when the last reader that caught its error is disposed (#4373, 2026-10-28, re-recorded over next @ b68942ca): cap 47.16 KB unchanged, recorded minified 140,442 -> 140,485 B (+43 B minified over next's record), measured locally (linux) at 47,463 B brotli. A boundary's readers become a reader -> source map, so an error boundary waits on what threw only while a reader that caught it is alive. Correctness (Ryan's ruling on #4373). Recorded minified = measured; CI re-bases.
0 commit comments