Repository navigation
Raise the startup bundle budget to where main actually is - #10702
Merged
Merged
Conversation
Frontend CI has been red since main crossed the 1,582.0 KB eager-transfer ceiling, and it is not one change that did it. Four builds on one machine, same toolchain, transfer / raw / chunks: 3f2c895 #10629's parent 1,574.7 / 5,260.1 / 91 e3e457a #10629 eager Settings 1,579.9 / 5,288.8 / 82 19c86b3 last green Frontend CI 1,576.5 / 5,267.6 / 91 7436c10 main 1,585.6 / 5,306.4 / 82 #10629 is the largest single contributor at +5.2 KB. It statically imports SettingsDialog and FloatingMonitor, which is the fix it shipped, and which is what folds nine chunks into the eager graph and takes settings-*.js from 158.0 KB raw to 208.2 KB. Making Settings lazy again would undo that PR rather than fix anything. It landed with 2.1 KB of headroom left; the commits after it spent it. So this is the other branch the guard's own message offers: raise the budget with the measurement. 1,645,000 bytes leaves 20.9 KB spare, about the headroom the previous raise took. Raw is untouched at 5,500,000, still 64.7 KB clear.
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. |
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.
Frontend build + bundle sanityhas been red on main since it crossed the 1,582.0 KB eager-transfer ceiling:It is not one change that did it, so I measured rather than guessed. Four builds on one machine, same toolchain, transfer / raw / chunks:
3f2c89537e3e457a7d19c86b3cc7436c103e#10629 is the largest single contributor at +5.2 KB. It statically imports
SettingsDialogandFloatingMonitor:which is the fix it shipped, and which is what folds nine chunks into the eager graph and takes
settings-*.jsfrom 158.0 KB raw to 208.2 KB. Making Settings lazy again would undo that PR rather than fix anything.It landed with 2.1 KB of headroom left. The commits after it spent it, none of them individually over the line.
So this takes the other branch the guard's own message offers: raise the budget with the measurement. 1,645,000 bytes leaves 20.9 KB spare, about the headroom the previous raise took. Raw is untouched at 5,500,000, still 64.7 KB clear at 5,306.4 KB.
tests/bundle-budget-closure.test.tspasses 32/32.The measurements are in the comment above
BUDGETas well, so the next person to look at this does not have to rebuild four commits to find out where the bytes went.