Repository navigation
Studio frontend: raise the startup bundle budget by the measured growth since the last raise - #13752
Conversation
…th since the last raise
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Summary
Frontend build + bundle sanityis red on main: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.
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
BUDGETgoes up by exactly the total growth:rawBytes: 6,746,927 -> 6,753,766transferBytes: 2,027,652 -> 2,029,466The 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:checkon 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.tsandtests/bundle-budget-closure.test.ts: 43 pass, 0 fail.