Skip to content

ci(bench): raise byte budgets for the pending query owner fix on top of #1761 - #1793

Merged
trueadm merged 1 commit into
mainfrom
ci/pending-query-owner-stack-budget
Oct 5, 2026
Merged

trueadm merged 1 commit into
mainfrom
ci/pending-query-owner-stack-budget

Conversation

@trueadm

@trueadm trueadm commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This raises byte budgets for #1783 (the #1764 fix) now that #1761 is on main. It changes only the three budget files, as CONTRIBUTING.md ("Size budgets") requires.

#1782 sized these budgets for the #1764 fix measured alone, and #1760 sized them for #1761 alone. Main now has #1761, and merging main into #1783 overruns 47 budgets by about 117–135 raw bytes and a few dozen gzip bytes. That is the combined growth of both fixes, which neither budget PR could include.

How the values were measured: on main 9c84293179 with #1783 merged in (7b12bdfbdd), using node benchmarks/bundle-size/run-minimal.mjs --write-budgets and node benchmarks/bundle-size/run.mjs --write-budgets octane-tsrx octane-jsx (measured + 32 raw/gzip, + 256 brotli). Only the raises are kept.

Merge this before #1783.

All 47 raised budgets
File Budget Old New Δ
minimal-budgets cli-spa-starter.raw 109922 110039 +117
minimal-budgets cli-spa-starter.gzip 37217 37254 +37
minimal-budgets root-static-specialized.raw 78557 78674 +117
minimal-budgets root-chained-jsx.raw 80593 80710 +117
minimal-budgets root-static.raw 205544 205679 +135
minimal-budgets root-static-local.raw 78560 78677 +117
minimal-budgets hooks-state.raw 90620 90737 +117
minimal-budgets prop-attributes.raw 91099 91216 +117
minimal-budgets context.raw 105023 105140 +117
minimal-budgets hydrate-root.raw 170798 170915 +117
minimal-budgets deferred-hydration.raw 234315 234432 +117
minimal-budgets deferred-hydration.brotli 63955 64222 +267
minimal-budgets suspense-transition.raw 161294 161411 +117
minimal-budgets component-owned-effects.raw 83073 83190 +117
minimal-budgets binding-hooks.raw 89136 89253 +117
minimal-budgets binding-base-ui-vite.raw 215804 215939 +135
minimal-budgets binding-base-ui-esbuild.raw 213726 213857 +131
minimal-budgets binding-radix-vite.raw 217720 217855 +135
minimal-budgets binding-radix-vite.gzip 69692 69727 +35
minimal-budgets binding-radix-esbuild.raw 215601 215732 +131
minimal-budgets binding-radix-esbuild.gzip 69633 69680 +47
minimal-budgets binding-mantine-hooks-vite.raw 92440 92557 +117
minimal-budgets binding-mantine-hooks-esbuild.raw 92067 92180 +113
minimal-budgets binding-apollo-client-vite.raw 360771 360906 +135
minimal-budgets binding-apollo-client-vite.gzip 113184 113218 +34
minimal-budgets binding-apollo-client-esbuild.raw 363680 363812 +132
minimal-budgets binding-apollo-client-esbuild.gzip 115401 115451 +50
minimal-budgets binding-usehooks-ts-vite.raw 93221 93338 +117
minimal-budgets binding-usehooks-ts-esbuild.raw 92833 92946 +113
app-budgets rows.framework.raw 114053 114170 +117
app-budgets rows.framework.gzip 37691 37727 +36
app-budgets rows.total.raw 121188 121305 +117
app-budgets rows.total.gzip 40126 40161 +35
app-budgets todo.framework.raw 127098 127215 +117
app-budgets todo.total.raw 131909 132026 +117
app-budgets chat.framework.raw 124558 124675 +117
app-budgets chat.total.raw 130548 130665 +117
app-budgets weather.framework.raw 146348 146465 +117
app-budgets weather.framework.gzip 47623 47679 +56
app-budgets weather.total.raw 169086 169203 +117
app-budgets weather.total.gzip 55732 55788 +56
app-budgets bindings.framework.raw 361453 361588 +135
app-budgets bindings.total.raw 716263 716398 +135
jsx-budgets framework.raw 220862 220997 +135
jsx-budgets framework.gzip 70411 70448 +37
jsx-budgets total.raw 229321 229456 +135
jsx-budgets total.gzip 73346 73384 +38

Validation

  • node benchmarks/bundle-size/budget-raises.mjs --base origin/main --head HEAD: "47 raise(s) in a budget-only change"
  • pnpm format:check, pnpm typecheck, pnpm test: left to CI (budget JSON only)

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
JSON-only CI budget updates with no runtime, security, or data-path changes.

Overview
Raises 47 bundle-size thresholds in app-budgets.json, jsx-budgets.json, and minimal-budgets.json so CI stays green once the pending query-owner fix lands on top of #1761, which is already on main. Neither earlier budget PR accounted for both changes together; merging that fix overruns benchmarks by roughly 117–135 raw bytes (and tens of gzip bytes) across minimal fixtures, sample apps, and JSX totals.

Values were remeasured with the bundle-size runners and only increases are applied—no application or framework code changes. This is intended to merge before the functional fix PR.

Reviewed by Cursor Bugbot for commit 2ced68d. Bugbot is set up for automated code reviews on this repo. Configure here.

#1761

#1782 measured the #1764 fix on its own, and #1760 measured #1761 on its
own. With #1761 now on main, adding the fix overruns 47 budgets by up to
about 135 raw bytes. Each value is measured on main 9c84293 with the fix
applied, plus the standard headroom.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@trueadm
trueadm marked this pull request as ready for review October 5, 2026 20:44
@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 8:44pm UTC
octane-website-mcp Skipped Skipped Oct 5, 2026 8:44pm UTC

Request Review

@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 bf3ebb2 into main Oct 5, 2026
27 of 49 checks passed
@trueadm
trueadm deleted the ci/pending-query-owner-stack-budget branch October 5, 2026 20:45
trueadm added a commit that referenced this pull request Oct 5, 2026
#1783 landed and spent the headroom #1782/#1793/#1794 granted it. Each
budget is again main's value minus the measured esbuild-to-Oxc
difference on the merged source (131 lowered, 28 unchanged, none
raised). The baseline record, home summary and refresh note follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
trueadm added a commit that referenced this pull request Oct 5, 2026
…er fix (#1797)

#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]>
trueadm added a commit that referenced this pull request Oct 6, 2026
* ci(bench): measure bundle sizes with Vite 8's default minifier

The bundle-size and bundle-reachability harnesses forced Vite's
`minify: 'esbuild'`. That mode turns Rolldown's own minifier off, and with
it the dead-code elimination that removes branches guarded by a
never-written module flag, so the numbers were not what a Vite app ships.

- run.mjs builds every framework with `minify: 'oxc'` (Vite 8's default
  client minifier), still identical settings for every target.
- run-minimal.mjs builds its Vite scenarios with `'oxc'`; the esbuild
  bundler scenarios keep esbuild's `minify: true`. The async-identity
  encoder check accepts Oxc's template-literal quotes.
- Every budget is ratcheted down (144 lowered, 15 unchanged, 0 raised),
  the bundle-size baseline is re-recorded, the 18 cross-framework ratio
  guards are re-cut, and the website summary and copy follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(bench): re-measure the Oxc budgets on main with #1761 and #1782

Budgets move by the measured esbuild-to-Oxc difference on the same
source (budget - max(0, esbuild - oxc)), so the methodology change
lowers 131 values, keeps 28, raises none, and leaves the headroom #1782
granted to #1783 in place. The baseline, ratio guards and website
summary are recomputed from the merged source.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(website): compare home summary ceilings at stable precision

The smoke test rounds each summary row to 15 significant digits because
Math.log/exp can differ by one ULP between libc implementations, but it
compared the bundle-size range ends exactly. Those ends are geometric
means too: the recorded Solid ceiling was 0.9500824085923075 on macOS and
0.9500824085923076 on the Linux runner. Round them the same way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(bench): re-derive the Oxc budgets on main with #1766, #1768, #1770, #1772 and #1794

Same method as before: each budget is main's value minus the measured
esbuild-to-Oxc difference on the merged source, never raised (131
lowered, 28 unchanged). The baseline record and home summary follow the
new bytes; every ratio guard still holds with the ceilings already cut.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(bench): re-derive the Oxc budgets on main with #1783

#1783 landed and spent the headroom #1782/#1793/#1794 granted it. Each
budget is again main's value minus the measured esbuild-to-Oxc
difference on the merged source (131 lowered, 28 unchanged, none
raised). The baseline record, home summary and refresh note follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(bench): re-cut the cross-framework ratio guards after #1784

With #1784's hydrating flag folded by Oxc, Octane's totals shrink 8.5-10%
instead of about 5%, so the total-gzip ceilings had grown about 6% loose.
They are re-cut at about 1.5% headroom on the merged-source measurement;
application-code ceilings are unchanged. All 72 bundle-size guards hold.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was previously deployed

2 inactive deployments
Preview – octane-website-mcp — 2ced68d2 Deployed Oct 5, 2026 by vercel[bot]
Preview – octane-website — 2ced68d2 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