Repository navigation
Studio: raise the startup bundle budget by the growth since 17901061d1 - #13991
Merged
Merged
Conversation
Member
Author
|
@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. Can't wait for the next one! 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". |
danielhanchen
added a commit
that referenced
this pull request
Oct 16, 2026
## Summary `Frontend build + bundle sanity` is red on main again since #13989, which merged with it red. Main at 1574001 measures 6,798,138 B raw / 2,044,579 B transfer, against 6,796,959 / 2,044,391 set in #13991. #13989 is the only frontend change since #13991 (Chat with files closing on its X, app tooltips, higher-contrast traces). It adds 1,339 B raw / 377 B transfer: 6,796,799 -> 6,798,138 B raw and 2,044,202 -> 2,044,579 B transfer, one machine and build, Node 24, `rm -rf dist` first, chunk count unchanged at 95. ## Change The budget is raised by that growth, so main keeps the margin it had (160 B raw, 189 B transfer), and the measurement is recorded beside the limits. ## Testing - `npm run build && npm run bundle:check` on main with this change: within budget (0.2 KB transfer, 0.2 KB raw to spare). Without it: over by 1,179 B raw / 188 B transfer. - `tests/bundle-budget-cli.test.ts` and `tests/bundle-budget-closure.test.ts`: 43 passed. - `prettier --check scripts/check-bundle-budget.ts`: clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Frontend build + bundle sanityis red on main again. #13969 merged with it red, and its run reportedover the startup budget: transfer 1995.0 KB > 1994.7 KB, raw 6633.8 KB > 6632.7 KB. Main at 6106de9 measures 6,796,799 B raw / 2,044,202 B transfer, against limits of 6,792,425 / 2,042,777.Measured commit by commit (one machine and build, Node 24, 95 chunks throughout,
rm -rf distbefore each build):The two largest steps:
#13945 already raised the budget for its own 497 B.
Change
The budget is set to the measured build plus the margin main had at 1790106 (160 B raw, 189 B transfer), with the per-commit numbers recorded beside the limits as in the earlier raises. If #13973's expand dialog should be lazy-loaded instead, that is a follow-up for its owner. This only gets main and every open PR off a red that none of them caused.
Testing
npm run build && npm run bundle:checkon main with this change: within budget (0.2 KB transfer, 0.2 KB raw to spare). Without it: over by 4,374 B raw / 1,425 B transfer.tests/bundle-budget-cli.test.tsandtests/bundle-budget-closure.test.ts: 43 passed.prettier --check scripts/check-bundle-budget.ts: clean.