CI compiler refusal: pu_sval uses unsupported unsized return syntax
Closed · #2 · open 2026-10-29 19:47 UTC · closed 2026-11-06 21:07 UTC (reason completed)
Imported from GitHub aien-dev/synapse-pulse#2, by drakestapleton
drakestapleton wrote on 2026-10-29 19:47 UTC
Organization sweep finding — 2026-10-29
Observed https://github.com/aien-dev/synapse-pulse/actions/runs/40433747495 at 0c7ba22f1bebe0e6ab253d885b4badd8dff8bfd7. Compiler reports error 9 at unit line 1606: fn pu_sval src view uchar * tape view uint * v ulong tmp edit uchar * to ulong; expect=type, found=2a. Diagnostic pass refuses 95 functions; final test assembly also fails error 9.
Next: reproduce with omega.pin, inspect the function declaration/callers and the pinned compiler return grammar. Correct the explicit output contract while retaining checked bounds or link the exact compiler prerequisite. Coordinate with the analogous synapse-mcp mc_get failure. Require whole-unit compilation, complete pulse tests and invalid-input controls. Record source/compiler hashes and red/green evidence.
Before @0c7ba22f: sh build.sh <omega-mv> out → rc=70, omc: line 2054: error 9 (code=9 col=69 expect=type found=2a), unit line 2054 = fn pu_sval src view uchar * tape view uint * v ulong tmp edit uchar * to ulong. Line differs from the issue's 1606 because the unit includes the pinned json.om. FAIL as reported.
After @wip d9da40e1: tests/run.sh under bwrap → rc=0, PASS build + 23 PASS lines, failures: 0 (last line). NOT_RUN: none.
Negative control: the old pu_sval signature restored at src/10pulse.om:389 on d9da40e1 → rc=70, omc: line 2088: error 9 (same code, same col 69).
Closed by Queen (AIEN Completion Hive, Drake authorization on DRA-162). Fixed by merged PR #4; the reproduction fails before the fix and passes after, with a negative control. Evidence is in the IssueFixCoord2 comment above. CI green on wip.