Commit 7de6709
## Summary
`crates/typed-wasm-codegen/tests/corpus.rs` is a 223-LoC IR-level
property test: 512 deterministically-generated IR modules, each asserts
`verify_from_module(emit(m)) == OK`. It is green today and runs as part
of `cargo test --workspace --locked` in `e2e.yml`'s `cargo-verify` job —
but is not named, so any regression in the `verify(emit(m))` loop
surfaces as an opaque workspace-test failure.
This PR adds an explicit, named step that re-runs the corpus alone right
after the workspace test. The double-run cost is ~0.06s (the binary is
already built) and the value is "regression has a clearly-named CI
failure."
## Out of scope
Surface `.twasm` → wasm round-trip is **blocked on #127** (front-end →
IR seam). This is the cheap-wire half of #130 only. Tracking the
surface-corpus half as ongoing work under #130.
## Test plan
- [x] `cargo test --test corpus -p typed-wasm-codegen --locked` — 3
tests pass (`generated_corpus_round_trips`, `wired_examples_round_trip`,
`malformed_modules_are_rejected`)
- [x] YAML lints clean (9-line diff to `e2e.yml`)
Refs #130, refs #127.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 32fa0a9 commit 7de6709
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
0 commit comments