Skip to content

Give the startup transfer budget headroom again after #14524 set it to its own build - #14571

Merged
danielhanchen merged 1 commit into
mainfrom
fix-bundle-budget-headroom
Oct 21, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
fix-bundle-budget-headroom

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Main is over the startup bundle budget, so "Frontend build + bundle sanity" fails for any PR built on it:

over the startup budget: transfer 2023.3 KB > 2023.3 KB

Exact bytes, one machine, Node 24, measured with the checker's own sums:

build raw transfer transfer budget
before #14508 (94a8bfacb3^) 6,878,900 2,071,669 2,071,693
94a8bfacb3 (#14508) 6,878,900 2,071,672 2,071,693
before #14563 (38d21245d0^) 6,879,325 2,071,834 2,071,816
main 5ab80ffdb4 6,879,345 2,071,823 2,071,816

#14524 raised the transfer budget to exactly its own measured build ("transfer set to the measured build"), leaving zero headroom. Next to the other frontend changes that landed around it, the startup set compresses a few bytes larger (+18 B before #14563, +7 B now). Neither PR added a large import; the limit simply had no room.

Change

transferBytes is set to the measured main build + 189 B (2,072,012), the same headroom used for earlier raises, with a comment recording the measurement. rawBytes is unchanged: it is already 244 B above the measured 6,879,345.

Testing

  • Main build at 5ab80ffdb4 with main's budget: over the startup budget.
  • Same build with this budget: within budget (0.2 KB transfer, 0.2 KB raw to spare).

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 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-21T22:11:58.025389Z 7c63d8a Manual request
🔒 Security Review ⚠️ Failed 2026-10-21T22:10:05.745583Z
We couldn’t complete this review. Comment @codex security review to try again.
7c63d8a 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

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 7c63d8a811

ℹ️ 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