Skip to content

Re-measure the Studio startup budget after the audio selector and thinking merges - #13640

Merged
danielhanchen merged 1 commit into
mainfrom
ci-bundle-budget-oct13d
Oct 13, 2026
Merged

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

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Problem

main (8af1232) is over the Studio startup budget, so Frontend build + bundle sanity fails on every PR that runs it (seen on #13630 and #13632):

eager startup JS: 6573.6 KB raw, 1976.9 KB transfer, 99 chunks
over the startup budget: transfer 1976.9 KB > 1976.1 KB

What grew

Measured on one machine and build, after each frontend merge since the last re-measure (#13612):

commit raw KB transfer KB chunks
b8d76e1 (#13612) 6570.7 1975.5 99
274b534 (#13615) 6569.2 1975.5 99
fa168bb (#13545) 6569.7 1975.7 99
76b4e2f (#13517) 6572.6 1976.6 99
781a1a0 (#13625) 6572.6 1976.6 99
4e712c1 (#13565) 6573.4 1976.9 99
8af1232 (#13571) 6573.6 1976.9 99

The chunk count is unchanged and no single import is responsible. The largest step is the audio model selector fix (#13517, +2.9 KB raw / +0.9 KB transfer); the others add 0 to 0.3 KB each.

Fix

Raise BUDGET by the measured growth, recorded in the comment above it like the earlier re-measurements, so main's margin stays where it was. This takes transfer from 2,023,500 B to 2,025,000 B and raw from 6,734,000 B to 6,737,000 B.

Verification

  • npm run bundle:check after vite build on this branch: within budget (0.6 KB transfer, 5.5 KB raw to spare).
  • tests/bundle-budget-cli.test.ts and tests/bundle-budget-closure.test.ts: 43 passed.

…nking merges

main is 0.8 KB transfer over the startup budget. Measured commit by
commit, six merges since b8d76e1 added 2.9 KB raw / 1.4 KB transfer
with the chunk count unchanged (largest: #13517, 0.9 KB transfer).
Raise the budget by that growth so main's margin stays where it was.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 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-13T17:08:40.018252Z d21626f Manual request
🔒 Security Review ⚠️ Failed 2026-10-13T17:07:02.168532Z d21626f PR opened
ℹ️ 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. Hooray!

Reviewed commit: d21626f394

ℹ️ 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