test: add cargo-mutants minimal task for the graph wire decoder - #654
Conversation
Mutation testing needs a green baseline, which `cargo test -p graph` only has in the Linux sandbox (the spec_hasher hash assertions fail on macOS). Add a `mutants` task that installs cargo-mutants if absent and runs it scoped to graph's wire.rs, so it can run where the baseline passes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 16 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Comment |
|
This PR has been waiting for review for 5 days. A maintainer probably If the PR is intentionally on hold, consider converting it to a draft bryan-minimal, anything blocking from your side?
|
Adds a
mutantstask to.minimal/minimal.tomlthat runscargo mutants -p graph -f wire.rsin the Linux sandbox.Mutation testing requires a green baseline, which
cargo test -p graphonly has under Linux — thespec_hasherblake3 hash assertions fail on macOS. The task installscargo-mutantsif absent, then runs it scoped to the wire decoder to keep runtime bounded (widen/drop-fto cover more). Surviving mutants pinpoint untested encode/decode branches — the concrete round-trip property-test targets.Run it with
MINIMAL_CPUS=6 MINIMAL_MEMORY=16G minimal run mutantsfrom a plain terminal (an active Claude session can trip the ~/.claude.json virtiofs stale-handle race).Companion to the graph wire fuzz harness (#651 stack) and the OOM fix in #653.
🤖 Generated with Claude Code