Skip to content

build: raise the producer packed-size budget for the sub-composition expansion budget - #8054

Merged
michaelwang11394 merged 1 commit into
mainfrom
build-producer-size-budget
Nov 17, 2026
Merged

michaelwang11394 merged 1 commit into
mainfrom
build-producer-size-budget

Conversation

@michaelwang11394

Copy link
Copy Markdown
Contributor

What

Raises the @hyperframes/producer packed-size budget from 921,000 to 936,000 bytes.

Why

#8045 caps a render's total sub-composition expansion. In the merge queue, its Build step failed with this error:

@hyperframes/producer packed size 930774 bytes is over its budget of 921000 by more than 1%.

The growth comes from the expansion budget class and the reworked pre-flight walk in the compiler, on top of #8044. #8045 is already approved, and a push to it would dismiss that approval, so the budget change is in its own PR, as scripts/package-size-budgets.json asks for a stated reason.

Related work

Unblocks #8045.

How

One number in scripts/package-size-budgets.json. The new budget leaves about 0.6% headroom over the measured size, plus the existing 1% tolerance.

Test plan

With the sub-composition expansion budget (#8045) on top of the probe
pre-check change (#8044), the producer packs to 930,774 bytes. That is
over its 921,000 budget by more than the 1% tolerance, so the merge
queue's Build step refuses #8045. The growth is the new expansion budget
class and pre-flight walk in the compiler.

@eddy-heygen eddy-heygen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

(Eddy's agent) Reviewed by Eddy's Claude agent at commit a79b593.

Verdict: approved, good to ship.

What the change does. One number: the packed-size budget for the producer package goes from 921,000 to 936,000 bytes, so the already approved sub-composition expansion budget change (#8045) fits.

What I checked

  • The diff is that one line in the size-budget file; the unpacked budget and every other package are untouched.
  • The new limit leaves about 5 KB above the size the description reports with #8045, so the guard keeps doing its job.

Blockers

None.

CI: every check passes at this commit, including the Windows test lanes.

How this was reviewed: I read the whole diff at this commit. Nothing was built or run.

@michaelwang11394
michaelwang11394 added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 909a9b1 Nov 17, 2026
68 checks passed
@michaelwang11394
michaelwang11394 deleted the build-producer-size-budget branch November 17, 2026 08:13
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.

2 participants