Repository navigation
Studio: raise the startup bundle budget for #14190 - #14198
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. 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". |
danielhanchen
added a commit
that referenced
this pull request
Oct 19, 2026
## Summary Main is over the startup bundle budget again, by 28 B raw, so `Frontend build + bundle sanity` fails on every PR based on it: ``` over the startup budget: raw 6666.1 KB > 6666.1 KB (main at 1de12ab) ``` #14198 set both limits to the measured build plus a 160 B raw / 189 B transfer margin. #14197 then added 188 B raw / 66 B transfer to the startup chunks (it keeps the FLUX.3 Image Klein GGUF row under its Fast FP8 row). It merged while its own bundle check was still queued, so it never raised the limit. ## Cause #14197 changes `model-selector/model-catalog.ts`, `recommended-fit.ts` and `pickers.tsx`. The picker catalog is imported by startup code (`features/chat/api/chat-adapter.ts` among others), so the new ordering rule ships in the eager chunks. It is small real growth with no lazy home. #14143, the other commit since, changes no frontend code. ## Change - **`check-bundle-budget.ts`:** a BUDGET comment entry for #14197, and both limits moved to the measured build plus the same margin: - `rawBytes`: 6,826,062 -> 6,826,250. - `transferBytes`: 2,054,313 -> 2,054,379. ## Testing One machine and build, Node 24, exact byte totals from the budget script, 95 chunks throughout. CI has matched this machine to the byte on every earlier budget change. | tree | raw B | transfer B | |---|---|---| | `94464babd6` (#14198) | 6,825,902 | 2,054,124 | | main `1de12ab309` (+ #14197, #14143) | 6,826,090 | 2,054,190 | - **Main against the old limits:** `over the startup budget: raw 6666.1 KB > 6666.1 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, by 17 B raw, so
Frontend build + bundle sanityfails on every PR based on it:#14168 reset both limits to the measured build plus a 160 B raw / 189 B transfer margin. #14190 (open //host links as web links) then added 177 B raw / 52 B transfer to the eager startup chunks. It merged while its own bundle check was still queued, so the raise never happened.
Cause
studio/frontend/src/lib/open-link.tsis the shared link opener, and the eager shell imports it. #14190 adds leading/trailing control-character trimming and//host(scheme-relative) link handling there (+16 lines). That is real growth with no lazy home: the opener is needed from the first screen. #14187, the other commit since the reset, changes no frontend code.Change
check-bundle-budget.ts: a BUDGET comment entry for Studio: open //host links as web links; run apt-get by absolute path; ignore the dev Studio home #14190, and both limits moved to the measured build plus the same margin:rawBytes: 6,825,885 -> 6,826,062.transferBytes: 2,054,261 -> 2,054,313.Testing
One machine and build, Node 24, exact byte totals from the budget script, 95 chunks throughout. CI has matched this machine to the byte on every earlier budget change.
4dc8bf0bd2(after #14168, no frontend change since)551dc28123(+ #14190, #14187)over the startup budget: raw 6665.9 KB > 6665.9 KB.within budget (0.2 KB transfer, 0.2 KB raw to spare).