You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1d416a3
Browse filesBrowse the repository at this point in the historyBrowse files
fix(gate): cite zwasm ledger ids as zwasm/D-NNN; two pipefail traps
Smell-audited: 1: the checker learns one qualified spelling instead of an
allowlist of foreign ids, so the next foreign citation needs no script edit;
the two pipe fixes apply the herestring shape the repo already uses.
Three full-gate failures, all non-code, all pre-dating this session's source
change on staging. The first two would have failed PR #16's CI.
debt_id_refs: the per-call wasm write-up cites zwasm's own debt rows D-584 and
D-585. A bare `D-NNN` is a cljw row to check_debt_id_refs.sh, so D-584 read as
undefined, and D-585 passed only because cljw happens to own a D-585 of its own
(the JIT zero-result gap, ADR-0192). The two ledgers share the id shape and
already collide. zwasm's ids are now always written `zwasm/D-NNN`; the checker
strips that qualified form before extracting ids, so a bare id stays a cljw
citation and a qualified one is never mistaken for one. Retrofit: every zwasm
citation in .dev/wasm_percall_findings.md, .dev/bench/ffi_boundary/README.md,
.dev/handover.md, .dev/zwasm_capabilities.md and build.zig.zon. cljw's D-585
(engine.zig, ADR-0192, mem_kernel.wat) is untouched.
epipe_head: bench/compare_langs.sh:504 fed `sed … /proc/cpuinfo | head -1`
under pipefail (one line per core, so head closes the pipe early). Replaced by
a single awk that prints the first match and exits; no pipe.
e2e_phase16_wasm_memory: failed once in the full gate with the expected line
visibly present in the output it printed, and passed on two direct re-runs.
Its `want` helper was `echo "$out" | grep -qF` under `set -o pipefail`: grep -q
exits on the first match and the producer's EPIPE fails the pipeline. Same
class check_debt_id_refs.sh documents; same fix, `grep -qF "$1" <<<"$out"`,
applied to all three pipes in the script.
0 commit comments