Repository navigation
Studio: raise the startup bundle budget for #14247 - #14258
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. Another round soon, please! 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". |
This was referenced Oct 19, 2026
danielhanchen
added a commit
that referenced
this pull request
Oct 19, 2026
## Summary Main is over the startup bundle budget again, by 189 B raw, so `Frontend build + bundle sanity` fails on every PR based on it: ``` over the startup budget: raw 6682.2 KB > 6682.0 KB (main at 6ccf0e4) ``` #14258 set both limits to the measured build plus a 160 B raw / 189 B transfer margin. #11937 (a setting to hide the macOS menu bar icon) then added 349 B raw / 78 B transfer to the startup chunks, and merged without raising them. ## Cause #11937 adds strings to `i18n/locales/en.ts`, which ships in the startup chunks, and entries to the settings search index (`settings-search.ts`, `dialog-search-index.ts`). That is small real growth. I measured each commit since #14258 on its own: | tree | raw B | transfer B | |---|---|---| | `46e4f50bea` (#14258) | 6,842,183 | 2,060,321 | | `2b20770c91` (+ #11937) | 6,842,532 | 2,060,399 | | `f5e91f1ca5` (+ #14223) | 6,842,532 | 2,060,421 | | main `6ccf0e4e74` (+ #14232) | 6,842,532 | 2,060,400 | #14223 and #14232 add no raw bytes. #14021 and #14263 change no frontend code. ## Change - **`check-bundle-budget.ts`:** a BUDGET comment entry for #11937, and both limits moved to the measured build at main plus the same margin: - `rawBytes`: 6,842,343 -> 6,842,692. - `transferBytes`: 2,060,510 -> 2,060,589. ## Testing One machine and build, Node 24, exact byte totals from the budget script, 96 chunks. - **Main against the old limits:** `over the startup budget: raw 6682.2 KB > 6682.0 KB`. - **With this change:** `within budget (0.2 KB transfer, 0.2 KB raw to spare)`.
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
Main is over the startup bundle budget again, so
Frontend build + bundle sanityfails on every PR based on it:#14247 (Developer mode opt-in for experimental CPU video generation) added 1,777 B raw / 654 B transfer to the startup chunks. It merged without raising the limits.
Cause
#14247touches eager startup code. Its new strings land ini18n/locales/en.ts(the English catalog ships in the startup chunks), and the developer-mode flag is read from__root.tsx,app-sidebar.tsx,config/env.tsandconfig/hardware-verdict.ts. The settings section itself is lazy. This is small real growth with no lazy home. The other commits since the last measurement (#14204, #14239, #14249) change no frontend code.Change
check-bundle-budget.ts: a BUDGET comment entry for Studio: Developer mode opt-in for experimental CPU video generation #14247, and both limits moved to the measured build plus a 160 B raw / 189 B transfer margin:rawBytes: 6,840,888 -> 6,842,343.transferBytes: 2,060,219 -> 2,060,510.Testing
One machine and build, Node 24, exact byte totals from the budget script. CI has matched this machine to the byte on earlier budget changes.
88afa84b87(before #14247)26e246d407over the startup budget: transfer 2012.0 KB > 2011.9 KB, raw 6681.8 KB > 6680.6 KB.within budget (0.2 KB transfer, 0.2 KB raw to spare), 96 chunks.