feat: pre-release validation — 34 edge case tests, no bugs found#65
Merged
feat: pre-release validation — 34 edge case tests, no bugs found#65
Conversation
Comprehensive validation for v0.1.0 release readiness:
Constant materialization (8 tests):
- i32.const -1, 0, 255, 256, 65536, i32::MAX, i32::MIN
- All produce correct MOVW/MOVT/MVN sequences — no bugs found
Callee-saved register restoration (5 tests):
- Normal end, Return opcode, Unreachable, br-out, nested return
- All exit paths emit proper POP {R4-R8, PC} — no bugs found
i64 division (4 tests):
- Pseudo-op emission, register allocation, div-by-zero trap, overflow trap
- All correct — no bugs found
Large function stress test (1 test + WAST file):
- 80+ WASM ops, nested loops, br_table, arithmetic chains
- No register allocator panic, bounded instruction count
Negative tests (8 tests):
- Empty/truncated/invalid WASM, syntax errors, SIMD on non-Helium
- All produce clean errors, never panics
Pre-release integration tests (9 tests):
- Full WAT→WASM→decode→select pipeline
- Garbage input, const edge cases, large function pipeline
CLAUDE.md: updated test count (885+), expanded crate map (16 entries)
coq/STATUS.md: verified current (188 Qed / 52 Admitted confirmed)
885 tests, 0 failures, clippy clean, fmt clean.
Trace: skip
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
OSxCAR anti-pinch modules use f64 (double-precision) math internally. Cortex-M4F only has single-precision FPU. Cortex-M7DP has the double-precision FPU needed to run f64 natively. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Uses cargo-llvm-cov with nightly toolchain to generate LCOV coverage, uploaded to Codecov via organization-wide token. Excludes synth-verify (needs Z3), synth-qemu, and alternative backends from coverage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comprehensive validation before v0.1.0 release. Tested all 13 pre-release concerns. No bugs found.
Tests added (34 new, 885 total)
Docs
Findings
All 13 concerns validated clean. No bugs, no truncation, no clobbering, no panics on invalid input.
Test plan
cargo test --workspace— 885 tests, 0 failurescargo clippy— cleancargo fmt --check— clean🤖 Generated with Claude Code