Skip to content

Fix the canonical byte-loop emission assertion (main is red) - #868

Closed
cramforce wants to merge 1 commit into
mainfrom
fix/byte-loop-index-assertion
Closed

cramforce wants to merge 1 commit into
mainfrom
fix/byte-loop-index-assertion

Conversation

@cramforce

Copy link
Copy Markdown
Contributor

#865 merged before its test shards ran (main CI run was cancelled), and its byte-loop assertion not.toContain("fptosi double") fails on main: the loop index has no index check, but the fixture converts its running sum to uint32 inline, and that conversion legitimately uses fptosi double. The assertion now checks what it means: no index-check blocks (not.toContain("bytes.index")), the same intent as the pre-#842 bytes.index.range assertion. Test-only change. This red test is what fails the plain/san shards of every open PR that merges main.

f3cfa80 asserted that the canonical byte loop contains no `fptosi double`
at all, meaning no exact-index round trip. The fixture also coerces its
running sum with ToUint32, whose inline fast path legitimately uses
`fptosi double ... to i64`, so the test fails on main (aaccbb3) as well;
#865 merged before the shards that run it. Assert instead that no
`bytes.index` check block is emitted, which keeps the original intent
(no unproven-index path for a proven in-bounds induction index).
@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptc Ready Ready Preview, v0 Oct 11, 2026 8:14pm UTC

@cramforce

Copy link
Copy Markdown
Contributor Author

Superseded by #866, which fixed the same byte-loop assertion on main.

@cramforce cramforce closed this Oct 11, 2026
@cramforce
cramforce deleted the fix/byte-loop-index-assertion branch October 11, 2026 20:27

This branch was successfully deployed

1 active deployment
Preview — d456703b Deployed Oct 11, 2026 by vercel[bot]
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