Skip to content

fix(corewire): balance generated decode guards - #452

Open
phall1 wants to merge 1 commit into
vercel-labs:mainfrom
phall1:upstream/corewire-decode-guards
Open

phall1 wants to merge 1 commit into
vercel-labs:mainfrom
phall1:upstream/corewire-decode-guards

Conversation

@phall1

@phall1 phall1 commented Sep 19, 2026

Copy link
Copy Markdown

Generated decode code could emit unbalanced guards on wide unions. Balance them so the generated file compiles.

@vercel

vercel Bot commented Sep 19, 2026

Copy link
Copy Markdown

@phall1 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Wide models previously emitted one left-associated logical chain, which overflowed ScriptC's recursive IR emitter. Build a balanced conjunction tree with linear retained memory and pin its depth with a 512-field regression.
@phall1
phall1 force-pushed the upstream/corewire-decode-guards branch from d82b164 to 5b91d0c Compare September 20, 2026 00:01
@phall1
phall1 marked this pull request as ready for review September 20, 2026 05:19

This branch has not been deployed

No deployments
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