Repository navigation
ci(bench): raise byte budgets for the children and Hydrate signal owner fix - #1797
Merged
Merged
Conversation
…er fix #1781 lands #1774's children signal owner and the Hydrate children fix on top of main c3c0a3b. #1773's raises for #1774 were used up by #1783's budgets (#1793, #1794), which were sized without #1774's code. Measured on main + #1781: 69 values breach, all raw or gzip; brotli fits everywhere. Each breached value goes to measured + 32; no other value moves. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
trueadm
marked this pull request as ready for review
October 5, 2026 22:05
5 of 8 tasks
7 of 8 tasks
4 tasks
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
Budget-only raise for #1781. #1781 now carries #1774's children signal-owner change, since #1774 was closed without merging, plus the
<Hydrate>children fix. It is measured on mainc3c0a3bcc0.Why main's budgets no longer fit.
@{ … }blocks #1761 plus fix(octane): resolve a component's signal handles from the children it passes #1774, but fix(octane): resolve a component's signal handles from the children it passes #1774's code never landed.Where the bytes come from.
markChildrenBlockrecords the authoring signal owner;scopeSignalOwnerlinks a children block or context provider to it;childSlotmarks bare render-function children with thet:site.deferred-hydrationalso carries the Hydrate fix: a lazyCHILDREN_SIGNAL_OWNERgetter on Hydrate's content body, +125 raw measured earlier against the same stack without it. Only bundles that render<Hydrate>reach that getter.server-renderandserver-hooksare unchanged.What it fixes.
<Hydrate>tags, read the component's ownsignal$/derived$/query$cells, asdocs/signals.mdrequires.<Card>{record$.get()}</Card>or<Hydrate when={load()}>{record$.get()}</Hydrate>started a second request for the query, in the browser and on the server.Raised budgets
Each breached raw or gzip value goes to measured + 32. No brotli value breaches, and nothing else moves.
minimal-budgets.jsoncli-spa-starter.rawminimal-budgets.jsoncli-spa-starter.gzipminimal-budgets.jsonroot-static-specialized.rawminimal-budgets.jsonroot-static-specialized.gzipminimal-budgets.jsonroot-chained-jsx.rawminimal-budgets.jsonroot-chained-jsx.gzipminimal-budgets.jsonroot-static.rawminimal-budgets.jsonroot-static-local.rawminimal-budgets.jsonroot-static-local.gzipminimal-budgets.jsonhooks-state.rawminimal-budgets.jsonhooks-state.gzipminimal-budgets.jsonprop-attributes.rawminimal-budgets.jsonprop-attributes.gzipminimal-budgets.jsoncontext.rawminimal-budgets.jsoncontext.gzipminimal-budgets.jsonhydrate-root.rawminimal-budgets.jsonhydrate-root.gzipminimal-budgets.jsondeferred-hydration.rawminimal-budgets.jsondeferred-hydration.gzipminimal-budgets.jsonsuspense-transition.rawminimal-budgets.jsonsuspense-transition.gzipminimal-budgets.jsoncomponent-owned-effects.rawminimal-budgets.jsoncomponent-owned-effects.gzipminimal-budgets.jsonbinding-hooks.rawminimal-budgets.jsonbinding-hooks.gzipminimal-budgets.jsonbinding-base-ui-vite.rawminimal-budgets.jsonbinding-base-ui-vite.gzipminimal-budgets.jsonbinding-base-ui-esbuild.rawminimal-budgets.jsonbinding-base-ui-esbuild.gzipminimal-budgets.jsonbinding-radix-vite.rawminimal-budgets.jsonbinding-radix-vite.gzipminimal-budgets.jsonbinding-radix-esbuild.rawminimal-budgets.jsonbinding-radix-esbuild.gzipminimal-budgets.jsonbinding-mantine-hooks-vite.rawminimal-budgets.jsonbinding-mantine-hooks-vite.gzipminimal-budgets.jsonbinding-mantine-hooks-esbuild.rawminimal-budgets.jsonbinding-mantine-hooks-esbuild.gzipminimal-budgets.jsonbinding-apollo-client-vite.rawminimal-budgets.jsonbinding-apollo-client-vite.gzipminimal-budgets.jsonbinding-apollo-client-esbuild.rawminimal-budgets.jsonbinding-apollo-client-esbuild.gzipminimal-budgets.jsonbinding-usehooks-ts-vite.rawminimal-budgets.jsonbinding-usehooks-ts-vite.gzipminimal-budgets.jsonbinding-usehooks-ts-esbuild.rawminimal-budgets.jsonbinding-usehooks-ts-esbuild.gzipapp-budgets.jsonrows.framework.rawapp-budgets.jsonrows.framework.gzipapp-budgets.jsonrows.total.rawapp-budgets.jsonrows.total.gzipapp-budgets.jsontodo.framework.rawapp-budgets.jsontodo.framework.gzipapp-budgets.jsontodo.total.rawapp-budgets.jsontodo.total.gzipapp-budgets.jsonchat.framework.rawapp-budgets.jsonchat.framework.gzipapp-budgets.jsonchat.total.rawapp-budgets.jsonchat.total.gzipapp-budgets.jsonweather.framework.rawapp-budgets.jsonweather.framework.gzipapp-budgets.jsonweather.total.rawapp-budgets.jsonweather.total.gzipapp-budgets.jsonbindings.framework.rawapp-budgets.jsonbindings.framework.gzipapp-budgets.jsonbindings.total.rawapp-budgets.jsonbindings.total.gzipjsx-budgets.jsonframework.rawjsx-budgets.jsonframework.gzipjsx-budgets.jsontotal.rawjsx-budgets.jsontotal.gzipValidation
4828b063fc(mainc3c0a3bcc0merged), Node 24.18.0:node benchmarks/bundle-size/run-minimal.mjs --write-budgets;node benchmarks/bundle-size/run.mjs --write-budgets octane-tsrx octane-jsx.run-minimal.mjs --budgetsandrun.mjs --budgets octane-tsrx octane-jsxboth pass on fix(octane): resolve a component's signal handles from its Hydrate children #1781's head, including the 6 application budgets.Risk / follow-ups
Provenance
agent-authored)🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
Benchmark threshold JSON only; no production runtime or build logic changes.
Overview
Raises CI bundle size ceilings in
app-budgets.json,jsx-budgets.json, andminimal-budgets.jsonso benchmarks pass after the framework changes in octane#1781 (children signal-owner scoping plus<Hydrate>children fix).69 breached
raworgziplimits are bumped to measured size + 32 bytes; brotli limits are unchanged. Typical framework/raw totals go up165–172 bytes on affected client bundles;+292 / +137) where the Hydrate path adds code. App-only and server benchmark entries (deferred-hydrationgets a larger raw/gzip bump (server-render,server-hooks, etc.) stay the same where the diff does not touch them.Reviewed by Cursor Bugbot for commit 58d2719. Bugbot is set up for automated code reviews on this repo. Configure here.