Skip to content

Studio frontend: raise the startup bundle budget by the measured growth since the last raise - #13752

Merged
danielhanchen merged 3 commits into
mainfrom
ci-bundle-budget-oct14
Oct 14, 2026
Merged

danielhanchen merged 3 commits into
mainfrom
ci-bundle-budget-oct14

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Summary

Frontend build + bundle sanity is red on main:

over the startup budget: transfer 1981.0 KB > 1980.1 KB, raw 6592.4 KB > 6588.8 KB

First seen on #13720, then measured locally at main 8611f18.

Attribution

Measured on one machine and build (Node 24), at the last commit that touched the budget (85b6414, #13579) and at every frontend merge since. Chunk count stays at 95 throughout, and no dependency was added.

Commit Raw Transfer
85b6414 (#13579, last raise) 6587.8 KB 1979.8 KB
bef17c9 (#13722, composer draft kept across chats) 6589.9 KB 1980.3 KB
90586ae (#13665) 6590.1 KB 1980.4 KB
3301886 (#13735) 6590.1 KB 1980.4 KB
aad900e (#13744, revert) 6589.7 KB 1980.4 KB
7844d9c (#13720) 6589.7 KB 1980.4 KB
daab3bc (#13538) 6590.0 KB 1980.4 KB
021d85e (#13614) 6590.1 KB 1980.4 KB
047fede (#13732) 6590.2 KB 1980.5 KB
1f77626 (#13661) 6590.3 KB 1980.6 KB
26d6059 (#13731, collapsed rail Images and Audio entries) 6592.4 KB 1981.0 KB
e4a00b0 (#13651) 6592.4 KB 1981.0 KB

In bytes, 85b6414 to 8611f18 is 6,745,911 to 6,750,599 B raw (+4,688) and 2,027,285 to 2,028,544 B transfer (+1,259).

No single merge regressed the startup set. The two largest steps are #13722 and #13731 (2.1 KB raw each), both small UI additions in the eager chat and shell chunks. The rest is a few hundred bytes each.

While this was open, two more frontend merges grew main again:

In bytes, 8611f18 to dd56fb3 is 6,750,599 to 6,752,750 raw and 2,028,544 to 2,029,099 transfer.

Fix

BUDGET goes up by exactly the total growth:

  • rawBytes: 6,746,927 -> 6,753,766
  • transferBytes: 2,027,652 -> 2,029,466

The comment records the measurement, the same way the previous raises do. Main keeps the margin #13579 left it: 1,016 B raw and 367 B transfer.

Verification

  • vite build && npm run bundle:check on this branch merged with main c06e4a1: within budget (0.4 KB transfer, 1.0 KB raw to spare). On main without this change it fails as above.
  • tests/bundle-budget-cli.test.ts and tests/bundle-budget-closure.test.ts: 43 pass, 0 fail.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 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-14T17:44:50.831738Z 016b92e Manual request
🔒 Security Review ⚠️ Failed 2026-10-14T17:31:37.028746Z 56935cf 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. Nice work!

Reviewed commit: 56935cf66b

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

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 016b92e31c

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