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 66c6f56
Browse filesBrowse the repository at this point in the historyBrowse files
fix(signals): writes that net to the committed value hold no errored re-run (#4452)
* fix(signals): writes that net to the committed value hold no errored re-run (D-8)
A plain write then an action writing the signal back to its committed
value in one tick made no proposal (D-8), but the memo it re-ran read the
signal's staging (equal to the committed value) as a read of the frame's
future (REACTIVE_STAGED_READ). An errored memo's re-run then staged its
new error (D-41) and the seam held it with the action, since a re-run's
error is never equal to the shown one: isPending(m) read true for as long
as the action stayed open (F-9), while an identity memo over it read
false. A staging equal to the committed value is now read as the screen.
Found by the async-gen rerun on next 5e68925 (E2).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015hPxMkC3jg3Uivh65gvaf2
* chore(size): raise caps for the netted-write read
+13 B minified on every bundle that keeps the signal read path (the
staging-equals-committed check in `read`); the brotli growth past it is
layout. Raised the five non-frozen caps that crossed, at measured + 10 B
rounded up to 0.01 KB with recorded minified = measured. The three frozen
floors it crosses (hydrating no stores +5 B, base page +45 B, live page
+81 B over cap) stay within the 20 B minified allowance and are not raised.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015hPxMkC3jg3Uivh65gvaf2
---------
Co-authored-by: Claude <[email protected]>
Writes that net to a signal's committed value in one tick no longer hold an errored memo's re-run with an action, so `isPending` of it stays `false` (D-8).
Copy file name to clipboardExpand all lines: scripts/size/scenarios.js
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1117,8 +1117,9 @@ module.exports = [
1117
1117
// 14.89 KB, recorded minified 43,874 -> 43,875 B; CI-measured at 14,875 B
1118
1118
// (43,875 B minified). Lower only: cap at measured + 10 B rounded up to
1119
1119
// 0.01 KB; recorded minified never raised.
1120
-
limit: "14.89 KB",
1121
-
capMinified: 43875,
1120
+
// A tick whose writes net to the committed value pends no errored re-run (D-8, async-gen rerun on 5e68925c) (2026-10-30, over next @ 7135a77a): 14.89 -> 14.95 KB, recorded minified 43,875 -> 43,888 B (+13 B), measured locally (linux) at 14,932 B brotli. A signal read whose staging equals its committed value is not a read of the frame's future (`read`): +13 B minified, the rest brotli layout. Correctness. Cap at measured + 10 B rounded up to 0.01 KB; recorded minified = measured.
1121
+
limit: "14.95 KB",
1122
+
capMinified: 43888,
1122
1123
alias
1123
1124
},
1124
1125
{
@@ -3032,8 +3033,9 @@ module.exports = [
3032
3033
// B; CI-measured at 13,416 B (37,014 B minified). Lower only: cap at
3033
3034
// measured + 10 B rounded up to 0.01 KB; recorded minified never raised.
3034
3035
// Batch re-record (2026-10-30, next @ 32163a9, size job 123956613767): cap unchanged, recorded minified 37,014 -> 37,015 B, measured in CI at 13,423 B brotli. Growth is the 2026-10-30 merges (#4424, #4436, #4416, #4442); #4416's truncation sweep is the +19 B minified on the hydrating scenarios. Cap at measured + 10 B rounded up to 0.01 KB where over; recorded minified = measured.
3035
-
limit: "13.43 KB",
3036
-
capMinified: 37015,
3036
+
// A tick whose writes net to the committed value pends no errored re-run (D-8, async-gen rerun on 5e68925c) (2026-10-30, over next @ 7135a77a): 13.43 -> 13.47 KB, recorded minified 37,015 -> 37,028 B (+13 B), measured locally (linux) at 13,451 B brotli. A signal read whose staging equals its committed value is not a read of the frame's future (`read`): +13 B minified, the rest brotli layout. Correctness. Cap at measured + 10 B rounded up to 0.01 KB; recorded minified = measured.
3037
+
limit: "13.47 KB",
3038
+
capMinified: 37028,
3037
3039
alias
3038
3040
},
3039
3041
{
@@ -3890,8 +3892,9 @@ module.exports = [
3890
3892
// 29.74 KB, recorded minified 88,302 -> 88,303 B; CI-measured at 29,727 B
3891
3893
// (88,303 B minified). Lower only: cap at measured + 10 B rounded up to
3892
3894
// 0.01 KB; recorded minified never raised.
3893
-
limit: "29.74 KB",
3894
-
capMinified: 88303,
3895
+
// A tick whose writes net to the committed value pends no errored re-run (D-8, async-gen rerun on 5e68925c) (2026-10-30, over next @ 7135a77a): 29.74 -> 29.78 KB, recorded minified 88,303 -> 88,316 B (+13 B), measured locally (linux) at 29,762 B brotli. A signal read whose staging equals its committed value is not a read of the frame's future (`read`): +13 B minified, the rest brotli layout. Correctness. Cap at measured + 10 B rounded up to 0.01 KB; recorded minified = measured.
3896
+
limit: "29.78 KB",
3897
+
capMinified: 88316,
3895
3898
alias: observeAlias
3896
3899
},
3897
3900
// Compiled-template scenarios (2026-10-05): the four `app:` fixtures above
@@ -4128,8 +4131,9 @@ module.exports = [
4128
4131
// 26.27 KB, recorded minified 79,985 -> 79,986 B; CI-measured at 26,257 B
4129
4132
// (79,986 B minified). Lower only: cap at measured + 10 B rounded up to
4130
4133
// 0.01 KB; recorded minified never raised.
4131
-
limit: "26.27 KB",
4132
-
capMinified: 79986,
4134
+
// A tick whose writes net to the committed value pends no errored re-run (D-8, async-gen rerun on 5e68925c) (2026-10-30, over next @ 7135a77a): 26.27 -> 26.31 KB, recorded minified 79,986 -> 79,999 B (+13 B), measured locally (linux) at 26,294 B brotli. A signal read whose staging equals its committed value is not a read of the frame's future (`read`): +13 B minified, the rest brotli layout. Correctness. Cap at measured + 10 B rounded up to 0.01 KB; recorded minified = measured.
4135
+
limit: "26.31 KB",
4136
+
capMinified: 79999,
4133
4137
alias
4134
4138
},
4135
4139
{
@@ -4301,8 +4305,9 @@ module.exports = [
4301
4305
// 32.43 KB, recorded minified 100,729 -> 100,748 B; CI-measured at 32,419 B
4302
4306
// (100,748 B minified). Lower only: cap at measured + 10 B rounded up to
4303
4307
// 0.01 KB; recorded minified never raised.
4304
-
limit: "32.43 KB",
4305
-
capMinified: 100748,
4308
+
// A tick whose writes net to the committed value pends no errored re-run (D-8, async-gen rerun on 5e68925c) (2026-10-30, over next @ 7135a77a): 32.43 -> 32.52 KB, recorded minified 100,748 -> 100,761 B (+13 B), measured locally (linux) at 32,508 B brotli. A signal read whose staging equals its committed value is not a read of the frame's future (`read`): +13 B minified, the rest brotli layout. Correctness. Cap at measured + 10 B rounded up to 0.01 KB; recorded minified = measured.
0 commit comments