Skip to content

chore(studio-server): raise the package size budget to the measured size - #6370

Merged
miguel-heygen merged 1 commit into
mainfrom
checklong/studio-server-budget
Oct 26, 2026
Merged

miguel-heygen merged 1 commit into
mainfrom
checklong/studio-server-budget

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

What

Raises the studio-server package size budget to 154437 bytes packed and 603489 unpacked (the usual 5% above the measured size).

Why

Merge-queue batches that hold several studio-server changes fail the Build size check: the packed tarball is 147082 bytes against a budget of 145266 (1% tolerance, so the limit is 146718), and unpacked is 574751 against 568500. Each of those PRs passes alone; together they cross the line, so the queue keeps ejecting them.

The growth is source, not junk. Main alone packs at about 146190 bytes. A listing of the tarball holds only dist JavaScript and type declarations (the largest are index.js at 268 KB and one shared chunk at 105 KB), with no source maps, tests, fixtures or media. It comes from the preview copy work that landed since the budget was last set: alpha cut-out copies, resumable copies, and the refused-frame reply.

Tests

scripts/verify-packed-manifests.mjs reads the budget; the Build job runs it.

@miguel-heygen
miguel-heygen force-pushed the checklong/studio-server-budget branch from 50b74e1 to a31d40b Compare October 26, 2026 01:38

@heygengenesis heygengenesis Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE · 0 blocker · 0 important · 0 nits · head a31d40b0

Both new budgets are exactly ceil(1.05 × measured) (147082 → 154437, 574751 → 603489), the 5% convention in scripts/verify-packed-manifests.mjs. Main's size (~146 KB packed) stays above the 85% ratchet floor, so the size check doesn't flip on main. Only the budget file changes, and all workflows are green at this head.

— Genesis

@miguel-heygen
miguel-heygen added this pull request to the merge queue Oct 26, 2026
Merged via the queue into main with commit c80e449 Oct 26, 2026
64 checks passed
@miguel-heygen
miguel-heygen deleted the checklong/studio-server-budget branch October 26, 2026 02:32
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