Skip to content

Commit ab51c57

Browse files
chore(size): ratchet four caps for the finalize re-arm (#3540)
+11 / +22 / +15 / +14 B brotli over the caps, measured; the scheduler's pendingRearms set, queueRearm, the finalize drain and the sync-flush gate (+58 B minified in the signals core), and <Errored on> through the hydration wrapper. Co-authored-by: Cursor <[email protected]>
1 parent 8b795d3 commit ab51c57

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

‎scripts/size/.size-limit.js‎

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,11 @@ module.exports = [
598598
// Born held exempts boundaries (#3540, 2026-09-18): 16,759 B against
599599
// `next`'s 16,707 (+52 B) — the core floor's +46 B (see its note); 0 B in
600600
// the store.
601-
limit: "16.80 KB",
601+
// `on` re-arms at the flush's finalize (#3540, 2026-09-21): 16,811 B,
602+
// +11 B over the cap — the scheduler's `pendingRearms` set, `queueRearm`,
603+
// the finalize drain and the simple-sync-flush gate (+58 B minified in
604+
// the signals core).
605+
limit: "16.85 KB",
602606
modifyEsbuildConfig
603607
},
604608
{
@@ -885,7 +889,10 @@ module.exports = [
885889
// is the same 34,727 B and differs only in which short names the minifier
886890
// hands out); ratcheted so the 15 B of remaining headroom does not flake
887891
// on Linux. 0 B in the signals floor.
888-
limit: "12.45 KB",
892+
// `on` re-arms at the flush's finalize (#3540, 2026-09-21): 12,472 B,
893+
// +22 B over the cap — the scheduler's `pendingRearms` drain sits on the
894+
// flush path every app retains (see the `+ createStore` note).
895+
limit: "12.50 KB",
889896
modifyEsbuildConfig
890897
},
891898
{
@@ -1305,7 +1312,12 @@ module.exports = [
13051312
// against `next`'s 30,545 (+150 B). Core: the same +46 B as the core
13061313
// floor note; boundaries: the same key computed / output-pass reset /
13071314
// born-held source retention as the CSR note. 0 B in the store engine.
1308-
limit: "30.75 KB",
1315+
// `on` is a dependency list; re-arm at the finalize (#3540, 2026-09-21):
1316+
// 30,765 B, +15 B over the cap. Core: `pendingRearms` / `queueRearm` /
1317+
// the finalize drain replace `keyComputed`'s value compare and
1318+
// `_prevOn` (a near wash in boundaries.ts); solid: `<Errored on>` threaded
1319+
// through the hydration wrapper to createErrorBoundary's options.
1320+
limit: "30.80 KB",
13091321
modifyEsbuildConfig
13101322
},
13111323
{
@@ -1738,7 +1750,12 @@ module.exports = [
17381750
// source collected until the commit initializes it; the priming read is a
17391751
// `spectate`. Observe: the boundaryFallback attribution call moved with
17401752
// the reset.
1741-
limit: "27.60 KB",
1753+
// `on` is a dependency list; re-arm at the finalize (#3540, 2026-09-21):
1754+
// 27,614 B, +14 B over the cap — `keyComputed` / `ON_INIT` / `_prevOn`
1755+
// become the on-node (`queueRearm` on every run after the first), and
1756+
// `_reset` becomes `_rearm` + `_retry` (shared with the error fallback's
1757+
// `reset()`); the scheduler gains `pendingRearms` and its finalize drain.
1758+
limit: "27.65 KB",
17421759
modifyEsbuildConfig: observeEsbuildConfig
17431760
},
17441761
{

0 commit comments

Comments
 (0)