Repository navigation
Re-measure the Studio startup budget after the Sandbox tab and action bar rework - #12763
Merged
Merged
Conversation
… bar rework Main is over the startup budget: 6,278.6 KB raw / 1,879.0 KB transfer against 6,237.3 / 1,867.2. Built commit by commit from #12347, no single import is responsible: #12347 itself left 2.9 KB transfer over, the Sandbox settings tab (#12215) added 16.4 KB raw / 4.5 KB transfer, #12735 2.9 KB raw, and the rest is spread over the other merges, all in the eager chat, index and settings chunks. Put back the margin the previous raises chose (210.8 KB raw, 65.1 KB transfer).
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. Breezy! 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 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 once the i18n parity step passes (as on #12749, which fixes that step):A local build of main (
36255a18bd) gives the same numbers, so this is main and not the PR it showed up on.Is something wrongly eager?
The script asks to check that before raising the budget, so I built every frontend commit from #12347 (where the budget was last set) to main and ran
bundle:checkon each:The chunk count stays at 95 throughout. The largest step, #12215, is its strings in every eagerly loaded locale plus the sandbox pick in the chat adapter, split between the chat, index and settings chunks. None of it is a page that could be made lazy. #12347 also left main 2.9 KB over its own new budget. What ran out is headroom, as in #12560.
Change
BUDGETis re-measured at 6,278.6 KB raw / 1,879.0 KB transfer, plus the margin the previous raises chose (210.8 KB raw, 65.1 KB transfer):transferBytes: 1_991_000,rawBytes: 6_646_000. The comment records the per-commit attribution above.Verification
npm run bundle:checkon this branch: "within budget (65.3 KB transfer, 211.7 KB raw to spare)".bundle-budget-cli.test.tsandbundle-budget-closure.test.ts: 41 pass.