Repository navigation
Raise the startup bundle budget for the modern toggles (#14322) - #14331
Conversation
|
@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. |
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
|
Codex Review: Didn't find any major issues. 🚀 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". |
Problem
Frontend build + bundle sanityis red again for PRs based on current main. Main builds over the startup budget:Measurement
Exact totals, one machine and build, Node 24, 96 chunks throughout:
#14322 adds 449 B raw / 86 B transfer.
switch.tsxis a shared primitive that is already in the startup chunks, so this is ordinary growth and the chunk count is unchanged. #14329 had removed 163 B just before.Change
BUDGETinstudio/frontend/scripts/check-bundle-budget.tsis raised to the main build plus the same 160 B raw / 189 B transfer margin:rawBytes6,845,068 andtransferBytes2,061,281. A comment entry records the numbers.Testing
npm ci && npm run build && npx tsx scripts/check-bundle-budget.tson this branch:within budget (0.2 KB transfer, 0.2 KB raw to spare). On main, the over-budget output above.