Skip to content

Commit 10663ec

Browse files
committed
chore(size): re-measure over next @ 131ceb8; type the family status error
Raise the base + router and compiled hydrating caps (brotli layout from +2 B minified) and give StoreFamily.st its error parameter. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015hPxMkC3jg3Uivh65gvaf2
1 parent ccc71a7 commit 10663ec

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎packages/signals/src/store/target.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface StoreFamily {
4141
* per-leaf chain; a target leaves it with its last node. */
4242
live: Set<StoreTarget>;
4343
/** A source's status reaching the derive by propagation (`familyStatus`). */
44-
st?: (status: number) => void;
44+
st?: (status: number, error?: unknown) => void;
4545
shallow?: boolean;
4646
/** Derive run counter (proj R37): the run whose draft is live. */
4747
run?: number;

‎scripts/size/scenarios.js‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4317,8 +4317,9 @@ module.exports = [
43174317
// 0.01 KB; recorded minified never raised.
43184318
// 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.
43194319
// Batch re-record (2026-10-30, over next @ 563b6b0): cap unchanged, recorded minified 100,761 -> 100,797 B (+36 B), measured locally (linux) at 32,473 B brotli. Growth is the 2026-10-30 merges (#4454, #4457, #4461). Recorded minified = measured.
4320-
limit: "32.52 KB",
4321-
capMinified: 100797,
4320+
// A propagated error reaches a derived store's readers once (#4463, 2026-10-30, over next @ 131ceb8c): 32.52 KB -> 32.54 KB, recorded minified 100,797 -> 100,803 B (+6 B), measured locally (linux) at 32,522 B brotli. familyStatus hands the error to errorFamily so a reader its derive's pass already handed it is skipped; the brotli move is layout from +2 B minified. Cap at measured + 10 B rounded up to 0.01 KB; recorded minified = measured.
4321+
limit: "32.54 KB",
4322+
capMinified: 100803,
43224323
alias
43234324
},
43244325
{
@@ -6140,8 +6141,9 @@ module.exports = [
61406141
// at measured + 10 B rounded up to 0.01 KB; recorded minified never raised.
61416142
// Batch re-record (2026-10-30, next @ 32163a9, size job 123956613767): 41.16 KB -> 41.23 KB, recorded minified 125,416 -> 125,435 B, measured in CI at 41,215 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.
61426143
// Batch re-record (2026-10-30, over next @ 563b6b0): cap unchanged, recorded minified 125,435 -> 125,468 B (+33 B), measured locally (linux) at 41,178 B brotli. Growth is the 2026-10-30 merges (#4454, #4457, #4461). Recorded minified = measured.
6143-
limit: "41.23 KB",
6144-
capMinified: 125468,
6144+
// A propagated error reaches a derived store's readers once (#4463, 2026-10-30, over next @ 131ceb8c): 41.23 KB -> 41.25 KB, recorded minified 125,468 -> 125,470 B (+2 B), measured locally (linux) at 41,231 B brotli. familyStatus hands the error to errorFamily so a reader its derive's pass already handed it is skipped; the brotli move is layout from +2 B minified. Cap at measured + 10 B rounded up to 0.01 KB; recorded minified = measured.
6145+
limit: "41.25 KB",
6146+
capMinified: 125470,
61456147
alias: pageAlias,
61466148
conditions: solidConditions,
61476149
compile: { hydratable: true }

0 commit comments

Comments
 (0)