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
chore(size): re-record the ledger after the 2026-10-30 merges - #4462
Before: on next @ 563b6b0, two scenarios fail the size gate: signals: + createStore is 14,951 B brotli against a 14.95 KB cap and 36 B minified over its record, and app: compiled CSR is 26,312 B against 26.31 KB, also +36 B minified. #4454 and #4457 each passed against their own base, but together they cross both caps. Every PR opened against next would fail these two scenarios.
After: both caps are raised by the cap rule (measured + 10 B, rounded up to 0.01 KB): createStore 14.97 KB / 43,924, compiled CSR 26.33 KB / 80,035. The recorded minified of every other non-frozen scenario that moved is set to its measured value, with caps unchanged. The hydrating + stores scenario drops by 302 B.
How: scripts/size/scenarios.js only, with a one-line ledger comment per scenario. No frozen floor is touched (floor-caps.json unchanged). Brotli growth over the two raised caps is +1 B and +2 B; the minified growth is #4454's stagedScreen check and #4457's same-error skip.
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
⚠️ Over the brotli cap within the minified allowance (passes)
app: hydrating (no stores) with Show/For/Loading/Errored/lazy: over brotli cap by 5 B; minified 53,598 B vs 53,585 B recorded with the cap (+13 B) — 7 B of the 20 B minified allowance left; +0 B minified over this PR's base
Bundled with Rolldown (what Vite ships), brotli q11, decimal KB. A scenario fails only when it is over its brotli cap and its minified size is more than 20 B over the minified recorded with the cap; over the cap within that allowance is brotli layout noise and passes with a warning. Caps and their recorded minified in scripts/size/scenarios.js; the floor and page caps in floor-caps.json are frozen (lower only, or Size-Exception: in the PR body). npm run ratchet lowers caps per RC; it never raises one (scripts/size/README.md).
System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.
⚠️1 benchmark with a significant change ran on different hardware
Its base and head results were measured on machines with a different CPU, core count or memory, so the change might not come from the code. Run base and head on the same runner type.
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
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.
Before: on
next@ 563b6b0, two scenarios fail the size gate:signals: + createStoreis 14,951 B brotli against a 14.95 KB cap and 36 B minified over its record, andapp: compiled CSRis 26,312 B against 26.31 KB, also +36 B minified. #4454 and #4457 each passed against their own base, but together they cross both caps. Every PR opened againstnextwould fail these two scenarios.After: both caps are raised by the cap rule (measured + 10 B, rounded up to 0.01 KB): createStore 14.97 KB / 43,924, compiled CSR 26.33 KB / 80,035. The recorded minified of every other non-frozen scenario that moved is set to its measured value, with caps unchanged. The hydrating + stores scenario drops by 302 B.
How:
scripts/size/scenarios.jsonly, with a one-line ledger comment per scenario. No frozen floor is touched (floor-caps.jsonunchanged). Brotli growth over the two raised caps is +1 B and +2 B; the minified growth is #4454'sstagedScreencheck and #4457's same-error skip.Generated by Claude Code