Skip to content

ci(bench): raise two brotli budgets for the stacked #1690 - #1692

Merged
trueadm merged 1 commit into
mainfrom
ci/budget-passive-cascade-stack
Oct 4, 2026
Merged

trueadm merged 1 commit into
mainfrom
ci/budget-passive-cascade-stack

Conversation

@trueadm

@trueadm trueadm commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Budget-only follow-up to #1689 for the stacked PR #1690. #1690 counts passive effects drained before a flushSync render as passive; it is stacked on #1688.

#1689 sized its raises for #1688 alone. Applied to #1690's tree, every raw and gzip budget still fits, but two brotli values are over:

file budget main #1690 measures new
minimal-budgets.json hydrate-root.brotli 48,064 48,099 48,355
app-budgets.json chat.total.brotli 40,949 40,951 41,207

Each new value is #1690's measurement plus the standard 256-byte brotli headroom. The budgets then cover #1688 alone and #1688 with #1690, following the stack rule from #1687. The #1690 session measured both values with run-minimal.mjs --budgets and run.mjs --budgets, with #1689's budgets applied, and says local bytes match CI exactly. #1690's CI benchmark report independently shows hydrate-root brotli at 48,099.

Validation

  • pnpm format:check (repo-wide, left to CI)
  • pnpm typecheck (no code changes)
  • pnpm test (no code changes)
  • targeted checks:
    • node benchmarks/bundle-size/budget-raises.mjs --base origin/main reports "2 raise(s) in a budget-only change".
    • pnpm format:files:check on both files passes, and pnpm sync produces no changes.

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
JSON-only CI threshold updates with no application or library code changes.

Overview
Raises two brotli bundle-size ceilings so CI stays green when stacked PR #1690 lands on top of #1688. Raw and gzip budgets are unchanged; only brotli limits move.

In minimal-budgets.json, hydrate-root.brotli goes from 48,064 → 48,355. In app-budgets.json, chat.total.brotli goes from 40,949 → 41,207. Each new value is the #1690 measurement plus the usual 256-byte brotli headroom, matching the stack rule from earlier budget PRs.

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

#1690 (stacked on #1688) fits every raw and gzip budget that #1689 raised,
but measures two brotli values above main's budgets: hydrate-root 48,099
and chat/total 40,951. Raise both to that measurement plus the 256-byte
brotli headroom (48,355 and 41,207), so the budgets cover #1688 alone and
#1688 + #1690. Budgets only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp October 3, 2026 21:14 Inactive
@vercel

vercel Bot commented Oct 3, 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 3, 2026 9:14pm UTC
octane-website-mcp Skipped Skipped Oct 3, 2026 9:14pm UTC

Request Review

@vercel
vercel Bot temporarily deployed to Preview – octane-website October 3, 2026 21:14 Inactive
@trueadm
trueadm marked this pull request as ready for review October 3, 2026 21:14
@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 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Benchmark report

🟢 No budget breaches, no added work, and no timing changes beyond ±3%.

Compares 5228fb6ad, the merge commit's first parent with bff2ea743 on the same runner. A byte value over its committed budget or any increase in a js-framework work counter fails this check. Wall time is a report: base and head samples alternate in one browser, and an operation is called slower or faster only when the 95% confidence interval of its ratio excludes ±3%. Workflow run

js-framework: 1k/10k row operations

All 20 timed operations (20 without a verdict)
target operation base ms head ms head/base 95% CI
octane-tsrx run 3.267 3.175 −0.0% −3.1% … ±0.0% ⚪ within noise
octane-tsrx replace 6.683 6.792 −1.9% −3.9% … +3.3% ⚪ within noise
octane-tsrx add 2.750 2.783 −0.0% −3.6% … ±0.0% ⚪ within noise
octane-tsrx update 0.138 0.137 −0.8% −1.5% … +0.3% ⚪ within noise
octane-tsrx select 0.006 0.006 −1.3% −1.6% … +0.5% ⚪ within noise
octane-tsrx swap 0.039 0.038 ±0.0% −0.7% … +0.7% ⚪ within noise
octane-tsrx remove 0.022 0.022 −1.1% −3.5% … +0.7% ⚪ within noise
octane-tsrx runlots 25.125 26.900 −2.5% −8.1% … +0.2% ⚪ within noise
octane-tsrx select_lots 0.006 0.006 −2.4% −3.0% … −2.4% ⚪ within noise
octane-tsrx clear 48.783 48.700 +0.8% −1.2% … +2.3% ⚪ within noise
octane-jsx run 3.850 3.683 −1.2% −2.7% … +2.5% ⚪ within noise
octane-jsx replace 7.617 7.858 +7.4% −3.8% … +11.5% ⚪ within noise
octane-jsx add 3.508 3.533 ±0.0% −1.3% … ±0.0% ⚪ within noise
octane-jsx update 0.278 0.273 +1.4% −0.7% … +2.1% ⚪ within noise
octane-jsx select 0.139 0.143 −0.5% −1.0% … +0.0% ⚪ within noise
octane-jsx swap 0.252 0.254 −0.6% −2.0% … ±0.0% ⚪ within noise
octane-jsx remove 0.187 0.188 ±0.0% −0.6% … +0.6% ⚪ within noise
octane-jsx runlots 31.367 30.483 −0.6% −2.4% … +0.0% ⚪ within noise
octane-jsx select_lots 1.593 1.616 +0.6% −0.6% … +1.3% ⚪ within noise
octane-jsx clear 53.708 53.767 +1.4% ±0.0% … +3.0% ⚪ within noise

All 64 work counters are unchanged.

Application bundle size (bytes)

target metric base head Δ
octane-tsrx bindings_js_gzip 240,780 240,769 −11 (−0.0%) 🟢
octane-tsrx bindings_js_brotli 205,077 204,959 −118 (−0.1%) 🟢
octane-tsrx bindings_app_gzip 121,726 121,715 −11 (−0.0%) 🟢
octane-tsrx bindings_app_brotli 101,832 101,714 −118 (−0.1%) 🟢

50 other measured values are unchanged.

Public-import reachability bundles (bytes)

No changes across 105 measured values.

@trueadm
trueadm merged commit ed0760c into main Oct 4, 2026
53 of 55 checks passed
@trueadm
trueadm deleted the ci/budget-passive-cascade-stack branch October 4, 2026 00:34

This branch was previously deployed

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