Repository navigation
ci(bench): raise the suspense-transition raw budget for the signal update-depth fix - #1756
Merged
Merged
Conversation
… depth The signal update-depth fix adds 4 raw bytes to suspense-transition, which had 3 raw bytes of headroom on main. Raise raw to the fix's measured bytes plus the usual 32; gzip and brotli hold. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
2 of 5 tasks
trueadm
marked this pull request as ready for review
October 5, 2026 11:08
This branch was previously deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This raises one byte budget for #1755, fix(octane): bound render loops driven by a component's own signals, and changes nothing else. Merge this first, then merge main into #1755. CONTRIBUTING "Size budgets" keeps a raise out of the change that needs it, and
budget-raises.mjsenforces that.Why the bytes are worth it. On main, a component-local
derived$orquery$that captures a value created on every render, and whose result never compares equal, re-renders its readers on every accepted render. Those renders were never counted by the nested-update guard, so outsideact()the page froze with no error (the residual hazard behind #1735, #1736 and #1737). #1755 counts a signal notification delivered during a flush against the flush's nested-update budget, so the cycle fails with "Maximum update depth exceeded" in production too.Why it cannot be smaller. The production cost is one argument at the single
scheduleRendercall inscheduleNativeRead, one optional parameter, and onen||in the existing nested-update condition. The development hint is stripped from production. #1755 also rewritesholdsNativeRead(...) === trueas!!holdsNativeRead(...)in the same function, which is equivalent because the method returns a boolean, and saves 3 bytes. That brings the net cost to +4 raw.Bytes. These are production bytes from
run-minimal.mjs, on Node 24.18. The main column is main e3da909. The head column is #1755 rebased on that main. The new budget is the head measurement plus the usual 32 raw. Only the breached metric is raised.minimal-budgets.jsonsuspense-transition.rawsuspense-transitiongrows +4 raw. Main had 3 raw bytes of headroom left. Its gzip (53,133) and brotli (46,563) stay within budget.Other scenarios that reach
scheduleNativeRead:hooks-statehydrate-rootdeferred-hydrationApp and JSX sets:
run.mjs --budgets octane-tsrx octane-jsxon fix(octane): bound render loops driven by a component's own signals #1755's head breaches nothing.Validation
pnpm format:check: not run. The diff changes one numeric value in a JSON file, and its formatting is unchanged.pnpm typecheck: not applicable, budget data only.pnpm test: not applicable, budget data only.node benchmarks/bundle-size/run-minimal.mjs --write-budgetson fix(octane): bound render loops driven by a component's own signals #1755's head reportssuspense-transition.rawas the only breach.node benchmarks/bundle-size/run-minimal.mjs suspense-transition hooks-state hydrate-root deferred-hydrationwith main'sruntime.tsandsignals/graph.tsgives the main column.node benchmarks/bundle-size/run.mjs --budgets octane-tsrx octane-jsxon fix(octane): bound render loops driven by a component's own signals #1755's head:6 application budget(s) hold.node benchmarks/bundle-size/budget-raises.mjs --base origin/mainreports1 raise(s) in a budget-only change.Provenance
agent-authored)🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
Only updates a numeric CI bundle budget in JSON; no runtime or application code changes.
Overview
Raises the
suspense-transitionraw bundle size budget inminimal-budgets.jsonfrom 165,472 to 165,505 (+33). Gzip and brotli limits for that scenario are unchanged.This is a budget-only change so the follow-up fix in #1755 (bounding render loops from component-local signals) can land without mixing a size raise into the runtime diff, per the repo’s size-budget workflow (
budget-raises.mjs).Reviewed by Cursor Bugbot for commit d3329f1. Bugbot is set up for automated code reviews on this repo. Configure here.