Skip to content

fix(ci): restore deferred-hydration budget for current main - #1776

Closed
domgan-oai wants to merge 1 commit into
octanejs:mainfrom
openai-oss-forks:codex/restore-main-deferred-budget
Closed

domgan-oai wants to merge 1 commit into
octanejs:mainfrom
openai-oss-forks:codex/restore-main-deferred-budget

Conversation

@domgan-oai

@domgan-oai domgan-oai commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

On hold: do not merge before #1784. This measured a breach on historical main fb404c2, not the future hydration implementation. It is no longer a prerequisite to #1768–#1771.

The change raises only a deferred-hydration raw ceiling; it has no runtime or compiler changes. #1784 substantially reduces that fixture in local matched builds. After it lands, confirm the final pinned CI measurements and discard this PR if the inherited cap is sufficient.

The valid named-form hydration fix on main fb404c2 left the committed raw ceiling at 238535; production CI measures 238545 (+10 bytes). This fails the first test shard and cancels the other three on every PR, including unchanged code. The pinned base and head measurements agree. Raise only that raw ceiling to 238577 (measured + the existing 32-byte headroom); gzip/Brotli and every other budget stay unchanged. The separate ratchet PR #1771 returns all measured remaining slack. This small prerequisite exists because Octane prohibits raising budgets in a PR that also changes code.

Validation

  • pnpm format:check
  • pnpm typecheck
  • pnpm test
  • Historical fb404c2 CI: 238545 exceeds 238535.
  • Pinned PR base/head benchmark: same 238545 bytes in both measurements; the recorded budget peer equals the file at fb404c2.
  • Applied existing ratchetBudget calculation to the one breached metric; no other cap changes.
  • pnpm run sync, formatting and diff validation. Sync uses cached pnpm 11.25.0 with its supported warning mode because local project pnpm 12.9.1 is unavailable; pinned-toolchain verification runs in CI.

Risk / follow-ups

Existing CI passed on the old base. Its one number must be re-justified against the final landed #1784 and pinned toolchain; local cached bundle output is not valid calibration evidence. Only merge if still necessary, up to date, green and normal review requirements pass.

Provenance

  • An agent produced this diff (agent-authored)

Codex task · host com-79386


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
Single numeric CI budget adjustment with no application or build logic changes.

Overview
Raises the deferred-hydration raw bundle-size ceiling in minimal-budgets.json from 238535 to 238577 so CI matches current main after the named-form hydration fix (~238545 bytes measured, plus existing headroom). Gzip, Brotli, and every other budget are unchanged.

This is a budget-only prerequisite so bundle-size checks stop failing on unchanged PRs; no runtime or compiler changes. A separate ratchet PR is expected to tighten slack later.

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

@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 12:47pm UTC
octane-website-mcp Skipped Skipped Oct 5, 2026 12:47pm UTC

Request Review

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Benchmark report

  • 🟡 js-framework: 1 timed operation(s) slower beyond ±3%
  • 🔴 bundle-size: 2 value(s) increased within budget

Compares fb404c24d, the merge commit's first parent with 41be7c619 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

target operation base ms head ms head/base 95% CI
octane-tsrx select_lots 0.006 0.007 +7.8% +7.2% … +10.3% 🟡 slower
All 20 timed operations (19 without a verdict)
target operation base ms head ms head/base 95% CI
octane-tsrx run 3.467 3.550 ±0.0% −2.9% … +2.9% ⚪ within noise
octane-tsrx replace 7.008 7.025 −1.4% −4.2% … +3.6% ⚪ within noise
octane-tsrx add 2.558 2.508 −3.1% −3.8% … ±0.0% ⚪ within noise
octane-tsrx update 0.130 0.129 +0.3% −1.8% … +2.8% ⚪ within noise
octane-tsrx select 0.006 0.006 −0.5% −2.0% … +0.7% ⚪ within noise
octane-tsrx swap 0.041 0.038 −0.4% −2.4% … +1.1% ⚪ within noise
octane-tsrx remove 0.020 0.020 −0.3% −1.9% … +1.5% ⚪ within noise
octane-tsrx runlots 27.750 28.267 +0.7% −4.5% … +5.2% ⚪ within noise
octane-tsrx select_lots 0.006 0.007 +7.8% +7.2% … +10.3% 🟡 slower
octane-tsrx clear 46.208 47.117 +2.6% −0.6% … +4.1% ⚪ within noise
octane-jsx run 3.900 3.825 −0.0% −2.6% … ±0.0% ⚪ within noise
octane-jsx replace 8.392 8.642 −1.1% −2.4% … +3.4% ⚪ within noise
octane-jsx add 3.617 3.583 ±0.0% −2.7% … ±0.0% ⚪ within noise
octane-jsx update 0.262 0.267 +0.7% −0.4% … +2.2% ⚪ within noise
octane-jsx select 0.136 0.141 +3.4% +2.1% … +4.8% ⚪ within noise
octane-jsx swap 0.246 0.253 +3.3% +2.3% … +4.1% ⚪ within noise
octane-jsx remove 0.185 0.184 +0.3% −0.6% … +1.3% ⚪ within noise
octane-jsx runlots 34.125 32.608 +0.3% −4.0% … +4.2% ⚪ within noise
octane-jsx select_lots 1.589 1.617 +0.0% −0.8% … +4.4% ⚪ within noise
octane-jsx clear 43.850 41.775 −1.9% −5.4% … ±0.0% ⚪ within noise

All 64 work counters are unchanged.

Application bundle size (bytes)

target metric base head Δ
octane-tsrx bindings_js_gzip 240,982 240,970 −12 (−0.0%) 🟢
octane-tsrx bindings_js_brotli 205,086 205,148 +62 (+0.0%) 🔴
octane-tsrx bindings_app_gzip 121,729 121,717 −12 (−0.0%) 🟢
octane-tsrx bindings_app_brotli 101,728 101,790 +62 (+0.1%) 🔴

56 other measured values are unchanged.

Public-import reachability bundles (bytes)

No changes across 105 measured values.

@trueadm

trueadm commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Closing as obsolete. Main has been green since #1759 (3754039). #1762 then cut the deferred-hydration fixture well below the cap this PR raised, and #1773 has re-baselined it since. Thank you for the measurement.

@trueadm trueadm closed this Oct 5, 2026

This branch was previously deployed

2 inactive deployments
Preview – octane-website-mcp — 21a6a0fc Deployed Oct 5, 2026 by vercel[bot]
Preview – octane-website — 21a6a0fc 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 fix PR: bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants