Skip to content

Re-measure the Studio startup budget after the Sandbox tab and action bar rework - #12763

Merged
danielhanchen merged 1 commit into
mainfrom
ci-bundle-budget-remeasure
Oct 5, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci-bundle-budget-remeasure

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Summary

Frontend build + bundle sanity is red on main once the i18n parity step passes (as on #12749, which fixes that step):

over the startup budget: transfer 1879.0 KB > 1867.2 KB, raw 6278.6 KB > 6237.3 KB

A local build of main (36255a18bd) gives the same numbers, so this is main and not the PR it showed up on.

Is something wrongly eager?

The script asks to check that before raising the budget, so I built every frontend commit from #12347 (where the budget was last set) to main and ran bundle:check on each:

Commit Transfer Raw
#12347 browser panel (budget set here) 1,870.1 KB 6,248.1 KB
... 19 merges, -0.4 to +0.6 KB transfer each 1,872.1 KB 6,255.1 KB
#12735 message action bar rework 1,873.2 KB 6,258.0 KB
#12215 Sandbox settings tab 1,877.7 KB 6,274.4 KB
... 5 more merges 1,879.0 KB 6,278.6 KB

The chunk count stays at 95 throughout. The largest step, #12215, is its strings in every eagerly loaded locale plus the sandbox pick in the chat adapter, split between the chat, index and settings chunks. None of it is a page that could be made lazy. #12347 also left main 2.9 KB over its own new budget. What ran out is headroom, as in #12560.

Change

BUDGET is re-measured at 6,278.6 KB raw / 1,879.0 KB transfer, plus the margin the previous raises chose (210.8 KB raw, 65.1 KB transfer): transferBytes: 1_991_000, rawBytes: 6_646_000. The comment records the per-commit attribution above.

Verification

  • npm run bundle:check on this branch: "within budget (65.3 KB transfer, 211.7 KB raw to spare)".
  • bundle-budget-cli.test.ts and bundle-budget-closure.test.ts: 41 pass.

… bar rework

Main is over the startup budget: 6,278.6 KB raw / 1,879.0 KB transfer against
6,237.3 / 1,867.2. Built commit by commit from #12347, no single import is
responsible: #12347 itself left 2.9 KB transfer over, the Sandbox settings tab
(#12215) added 16.4 KB raw / 4.5 KB transfer, #12735 2.9 KB raw, and the rest is
spread over the other merges, all in the eager chat, index and settings chunks.
Put back the margin the previous raises chose (210.8 KB raw, 65.1 KB transfer).
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T18:10:31.839866Z 0ea7427 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 0ea7427670

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant