Skip to content

Re-pin the arity-gap assertions: upstream closed the gap - #10

Merged
AdaWorldAPI merged 1 commit into
mainfrom
claude/rust-scratch-abi-soa-gsamge
Aug 11, 2026
Merged

AdaWorldAPI merged 1 commit into
mainfrom
claude/rust-scratch-abi-soa-gsamge

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Follow-up to OGAR#265, which closed the shared-core arity gap. Both pins here fired exactly as designed, and both are re-pinned deliberately rather than relaxed.

scratch.rs pinned the borrowed-opcode arity gap at 21 — opcodes the core named but gave no stack_arity row. Its comment said it would "fail LOUDLY when upstream fixes it, at which point the number drops and this demands a deliberate re-pin." That is what happened. Now 1: PROC_CALL, which stays refused upstream because it is genuinely variadic (a call passes as many arguments as its procedure declares), not because anyone forgot it.

projection.rs's uncovered-function test is re-pinned for the second time — first off IF, now off PROC_DEF/WAIT, both since covered — onto PROC_CALL/RETURN, still genuinely outside the table. It also gains a can-fire half asserting the previously-named functions are covered now, so "uncovered" keeps discriminating instead of becoming a label for whatever happens to be missing.

Merge OGAR#265 first. blockly-abi path-deps ogar-loco, and CI here checks out OGAR's default branch — so these assertions only hold once the upstream sweep is on main. Expect red until then.

cargo test -p blockly-abi: 69 passed, 0 failures.


Generated by Claude Code

Both pins fired exactly as designed when OGAR#265 landed the shared-core
arity sweep, and both are re-pinned deliberately rather than relaxed.

`scratch.rs` pinned the borrowed-opcode arity gap at 21 -- opcodes the core
NAMED but gave no `stack_arity` row. The comment said it would "fail LOUDLY
when upstream fixes it, at which point the number drops and this demands a
deliberate re-pin". That is what happened. Now 1: `PROC_CALL`, which stays
refused upstream because it is genuinely variadic (a call passes as many
arguments as its procedure declares), not because anyone forgot it.

`projection.rs`'s uncovered-function test is re-pinned for the SECOND time
(first off `IF`, now off `PROC_DEF`/`WAIT`, both since covered) -- onto
`PROC_CALL`/`RETURN`, which are still genuinely outside the table. It also
gains a can-fire half asserting the previously-named functions ARE covered
now, so "uncovered" keeps discriminating instead of becoming a label for
whatever happens to be missing.

Depends on OGAR#265; the path dep means CI here needs it merged first.
@cursor

cursor Bot commented Aug 11, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_adcb2c1d-ed39-4f7f-adfc-707dc1f53a12)

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review August 11, 2026 21:03
@AdaWorldAPI
AdaWorldAPI merged commit 804d875 into main Aug 11, 2026
2 of 3 checks passed
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