Skip to content

Raise the startup bundle budget for the Rosetta chat-only messages (#14374) - #14407

Merged
danielhanchen merged 1 commit into
mainfrom
fix/bundle-budget-14374
Oct 20, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
fix/bundle-budget-14374

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Problem

main is over the startup bundle budget, so Frontend build + bundle sanity fails on every PR that touches the frontend:

eager startup JS: 6698.7 KB raw, 2017.0 KB transfer, 96 chunks
over the startup budget: raw 6698.7 KB > 6698.6 KB

#14374 added the Rosetta chat-only messages to the eager sidebar (app-sidebar.tsx) and the hardware verdict (hardware-verdict.ts). Measured on one machine and build (Node 24, 96 chunks), that is 298 B raw / 127 B transfer:

raw transfer
34c5203ebb (before #14374) 6,859,194 2,065,328
e172530d14 (main, after #14374) 6,859,492 2,065,455
old limit 6,859,354 2,065,517

The raw total is 138 B over. #14374's own run most likely measured against an older base that still had headroom.

Fix

Raise BUDGET to the measured main build plus the same 160 B raw / 189 B transfer margin as the earlier raises (6_859_652 raw, 2_065_644 transfer), with a comment entry saying what it is for.

Verification

On main e172530d14, after npm ci and npm run build:

  • With this change: within budget (0.2 KB transfer, 0.2 KB raw to spare).
  • With main's limits: over the startup budget: raw 6698.7 KB > 6698.6 KB.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T20:39:21.355266Z 9ce8b59 Manual request
🔒 Security Review ⚠️ Failed 2026-10-20T20:38:23.232725Z
We couldn’t complete this review. Comment @codex security review to try again.
9ce8b59 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 9ce8b591d8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant