Skip to content

chore(parsers): raise the package size budget to the measured size plus headroom - #6457

Merged
miguel-heygen merged 1 commit into
mainfrom
chore/parsers-size-budget
Oct 26, 2026
Merged

miguel-heygen merged 1 commit into
mainfrom
chore/parsers-size-budget

Conversation

@miguel-heygen

@miguel-heygen miguel-heygen commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

What

Raises the @hyperframes/parsers size budget to its measured size plus 5% headroom: packed 191000 → 203731, unpacked 831243 → 885314.

Why

#5255 (media source writes resolved in their lexical scopes) adds real code to packages/parsers/src/mediaSrcMutation.ts (+190/−27). With it, verify:packed-manifests measures parsers at 194029 packed and 843156 unpacked, over the budget by more than the 1% allowance, so its merge-queue group failed Build. Main on its own already measures about 0.5% over the unpacked budget, so the next parsers change would hit the same wall. Same approach as #6370: measured size plus headroom.

Test plan

Why under 100 lines

A lone urgent budget fix: it is the change that lets the merge queue take #5255 again, and there is no open PR of ours it belongs in.

@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 195af01c

The new budgets match the failed queue Build (run 40370172011, parsers at 194029 packed and 843156 unpacked) × 1.05, rounded up: 203731 and 885314. Only the parsers entry changes. CI on this head is green, including Build's verify:packed-manifests; CodeQL and Windows render verification are still running.

@miguel-heygen
miguel-heygen added this pull request to the merge queue Oct 26, 2026
Merged via the queue into main with commit ed51e6a Oct 26, 2026
109 checks passed
@miguel-heygen
miguel-heygen deleted the chore/parsers-size-budget branch October 26, 2026 18:54
SanHsien added a commit to SanHsien/hyperframes that referenced this pull request Oct 26, 2026
Brings in 10 upstream commits (ad4d3fa..15367a9): heygen-com#6425, heygen-com#6427, heygen-com#6429,
heygen-com#6431, heygen-com#6436, heygen-com#6432, heygen-com#6453, heygen-com#6457, heygen-com#6450, heygen-com#6451.

One conflict, packages/core/src/compiler/compositionScoping.ts (heygen-com#6436). This
fork passes authored composition code to Function() as a JSON string literal,
so upstream's markers around the raw source would sit outside the text its
page-side scan reads and the fix would silently not apply: the wrapper's own
__timelines use would make every composition look able to register a timeline.
The markers go inside the literal instead, begin marker on the first source
line so error line numbers do not shift. The pageBuild goldens change only by
those two marker comments. A new engine test runs upstream's scan on this
fork's real wrapper output and fails without the markers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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