Repository navigation
build(mobile): raise the page bundle's code fence to 11 MiB - #44416
Conversation
Main sits about 5 KB under the 10.5 MiB fence after the phone parity round, so the last phone PRs (row actions, /fork and /usage) fail build:mobile-web on size. Real size cuts are left for a mobile size round.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
ELI5
The phone app's page has a size limit checked in CI. It filled up again after this week's phone fixes, so the last two phone PRs fail the build. This raises the limit to 11 MiB.
What Changed
MOBILE_WEB_APP_BUNDLE_MAX_TOTAL_BYTESinverify-mobile-web-app-bundle.mjsgoes from 10.5 MiB to 11 MiB (about 512 KB more room). The phone's own contract (32 MiB total, 10 MiB per asset, 3 MiB entry) is unchanged.Why
Main measures about 5 KB under the 10.5 MiB fence. #44242 (phone row actions) is 225 bytes over and #44250 (phone
/forkand/usage) is 2,613 bytes over, on size alone. Trimming unrelated page code is left for a dedicated mobile size round.Linked Issue
None.
Visual Proof
N/A: build limit only, nothing in the app changes.
Testing
The constant is only read by the bundle verifier, which CI's
build:mobile-webruns. oxfmt is clean.No test added: the value is a budget, and tests must not pin constants.
Risk
The phone page may grow by up to about 512 KB more before CI stops it, a first-load cost over a paired connection. Back out with a plain revert.
Level: Low
AI Disclosure
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)