Skip to content

ci(bench): raise byte budgets for the children and Hydrate signal owner fix - #1797

Merged
trueadm merged 1 commit into
mainfrom
ci/children-hydrate-signal-owner-budget
Oct 5, 2026
Merged

trueadm merged 1 commit into
mainfrom
ci/children-hydrate-signal-owner-budget

Conversation

@trueadm

@trueadm trueadm commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

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 main c3c0a3bcc0.

Why main's budgets no longer fit.

Where the bytes come from.

  • About +165–172 raw on every client bundle is fix(octane): resolve a component's signal handles from the children it passes #1774's code:
    • markChildrenBlock records the authoring signal owner;
    • scopeSignalOwner links a children block or context provider to it;
    • childSlot marks bare render-function children with the t: site.
  • deferred-hydration also carries the Hydrate fix: a lazy CHILDREN_SIGNAL_OWNER getter on Hydrate's content body, +125 raw measured earlier against the same stack without it. Only bundles that render <Hydrate> reach that getter.
  • The server-side Hydrate change only swaps a flag constant. server-render and server-hooks are unchanged.

What it fixes.

  • The children a component writes between another component's tags, including <Hydrate> tags, read the component's own signal$/derived$/query$ cells, as docs/signals.md requires.
  • Before this, <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.

Budget Old (main) New
minimal-budgets.json cli-spa-starter.raw 110,039 110,204
minimal-budgets.json cli-spa-starter.gzip 37,254 37,315
minimal-budgets.json root-static-specialized.raw 78,674 78,843
minimal-budgets.json root-static-specialized.gzip 26,152 26,237
minimal-budgets.json root-chained-jsx.raw 80,710 80,879
minimal-budgets.json root-chained-jsx.gzip 26,725 26,780
minimal-budgets.json root-static.raw 205,679 205,816
minimal-budgets.json root-static-local.raw 78,677 78,846
minimal-budgets.json root-static-local.gzip 26,138 26,221
minimal-budgets.json hooks-state.raw 90,737 90,906
minimal-budgets.json hooks-state.gzip 30,193 30,251
minimal-budgets.json prop-attributes.raw 91,216 91,385
minimal-budgets.json prop-attributes.gzip 30,238 30,332
minimal-budgets.json context.raw 105,140 105,312
minimal-budgets.json context.gzip 34,855 34,923
minimal-budgets.json hydrate-root.raw 170,915 171,048
minimal-budgets.json hydrate-root.gzip 54,213 54,277
minimal-budgets.json deferred-hydration.raw 234,432 234,724
minimal-budgets.json deferred-hydration.gzip 74,141 74,278
minimal-budgets.json suspense-transition.raw 161,411 161,548
minimal-budgets.json suspense-transition.gzip 51,805 51,875
minimal-budgets.json component-owned-effects.raw 83,190 83,355
minimal-budgets.json component-owned-effects.gzip 27,452 27,533
minimal-budgets.json binding-hooks.raw 89,253 89,422
minimal-budgets.json binding-hooks.gzip 29,882 29,968
minimal-budgets.json binding-base-ui-vite.raw 215,939 216,072
minimal-budgets.json binding-base-ui-vite.gzip 69,136 69,235
minimal-budgets.json binding-base-ui-esbuild.raw 213,857 213,990
minimal-budgets.json binding-base-ui-esbuild.gzip 69,079 69,162
minimal-budgets.json binding-radix-vite.raw 217,855 217,988
minimal-budgets.json binding-radix-vite.gzip 69,727 69,807
minimal-budgets.json binding-radix-esbuild.raw 215,732 215,865
minimal-budgets.json binding-radix-esbuild.gzip 69,680 69,747
minimal-budgets.json binding-mantine-hooks-vite.raw 92,557 92,726
minimal-budgets.json binding-mantine-hooks-vite.gzip 30,732 30,808
minimal-budgets.json binding-mantine-hooks-esbuild.raw 92,180 92,349
minimal-budgets.json binding-mantine-hooks-esbuild.gzip 30,895 30,972
minimal-budgets.json binding-apollo-client-vite.raw 360,906 361,078
minimal-budgets.json binding-apollo-client-vite.gzip 113,218 113,267
minimal-budgets.json binding-apollo-client-esbuild.raw 363,812 363,980
minimal-budgets.json binding-apollo-client-esbuild.gzip 115,451 115,516
minimal-budgets.json binding-usehooks-ts-vite.raw 93,338 93,507
minimal-budgets.json binding-usehooks-ts-vite.gzip 30,969 31,065
minimal-budgets.json binding-usehooks-ts-esbuild.raw 92,946 93,115
minimal-budgets.json binding-usehooks-ts-esbuild.gzip 31,108 31,185
app-budgets.json rows.framework.raw 114,170 114,339
app-budgets.json rows.framework.gzip 37,727 37,769
app-budgets.json rows.total.raw 121,305 121,474
app-budgets.json rows.total.gzip 40,161 40,202
app-budgets.json todo.framework.raw 127,215 127,384
app-budgets.json todo.framework.gzip 41,474 41,546
app-budgets.json todo.total.raw 132,026 132,195
app-budgets.json todo.total.gzip 43,806 43,878
app-budgets.json chat.framework.raw 124,675 124,844
app-budgets.json chat.framework.gzip 40,772 40,854
app-budgets.json chat.total.raw 130,665 130,834
app-budgets.json chat.total.gzip 43,541 43,622
app-budgets.json weather.framework.raw 146,465 146,634
app-budgets.json weather.framework.gzip 47,679 47,724
app-budgets.json weather.total.raw 169,203 169,372
app-budgets.json weather.total.gzip 55,788 55,833
app-budgets.json bindings.framework.raw 361,588 361,760
app-budgets.json bindings.framework.gzip 118,540 118,624
app-budgets.json bindings.total.raw 716,398 716,570
app-budgets.json bindings.total.gzip 239,918 240,000
jsx-budgets.json framework.raw 220,997 221,130
jsx-budgets.json framework.gzip 70,448 70,513
jsx-budgets.json total.raw 229,456 229,589
jsx-budgets.json total.gzip 73,384 73,448

Validation

Risk / follow-ups

Provenance

  • An agent produced this diff (agent-authored)

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with 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, and minimal-budgets.json so benchmarks pass after the framework changes in octane#1781 (children signal-owner scoping plus <Hydrate> children fix).

69 breached raw or gzip limits are bumped to measured size + 32 bytes; brotli limits are unchanged. Typical framework/raw totals go up 165–172 bytes on affected client bundles; deferred-hydration gets a larger raw/gzip bump (+292 / +137) where the Hydrate path adds code. App-only and server benchmark entries (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.

…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]>
@vercel

vercel Bot commented Oct 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
octane-website Skipped Skipped Oct 5, 2026 10:05pm UTC
octane-website-mcp Skipped Skipped Oct 5, 2026 10:05pm UTC

Request Review

@trueadm
trueadm marked this pull request as ready for review October 5, 2026 22:05
@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent ci PR: CI or build pipeline labels Oct 5, 2026
@trueadm
trueadm merged commit 4913056 into main Oct 5, 2026
25 of 29 checks passed
@trueadm
trueadm deleted the ci/children-hydrate-signal-owner-budget branch October 5, 2026 22:06

This branch was previously deployed

2 inactive deployments
Preview – octane-website — 58d2719f Deployed Oct 5, 2026 by vercel[bot]
Preview – octane-website-mcp — 58d2719f Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent ci PR: CI or build pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant