Skip to content

test: add cargo-mutants minimal task for the graph wire decoder - #654

Merged
twitchyliquid64 merged 1 commit into
mainfrom
test/mutants-task
Jul 13, 2026
Merged

test: add cargo-mutants minimal task for the graph wire decoder#654
twitchyliquid64 merged 1 commit into
mainfrom
test/mutants-task

Conversation

@bryan-minimal

Copy link
Copy Markdown
Member

Adds a mutants task to .minimal/minimal.toml that runs cargo mutants -p graph -f wire.rs in the Linux sandbox.

Mutation testing requires a green baseline, which cargo test -p graph only has under Linux — the spec_hasher blake3 hash assertions fail on macOS. The task installs cargo-mutants if absent, then runs it scoped to the wire decoder to keep runtime bounded (widen/drop -f to 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 mutants from 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

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>
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 16 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: caea6db8-b231-4d78-817e-f03776864b79

📥 Commits

Reviewing files that changed from the base of the PR and between 1a41d56 and 928df6e.

📒 Files selected for processing (1)
  • .minimal/minimal.toml

Comment @coderabbitai help to get the list of available commands.

@gominimal-aw-bot

Copy link
Copy Markdown
Contributor

This PR has been waiting for review for 5 days. A maintainer probably
just needs a quick look — even a "needs more changes" comment helps it
move forward.

If the PR is intentionally on hold, consider converting it to a draft
or adding the needs-human label so this nudge stops firing.

bryan-minimal, anything blocking from your side?

Generated by PR nudge (side-repo-ops operator) ·

@gominimal-aw-bot gominimal-aw-bot Bot added the agent:pr-nudge Applied by the pr-nudge agent label Jul 13, 2026
@twitchyliquid64
twitchyliquid64 merged commit f95835e into main Jul 13, 2026
34 of 35 checks passed
@twitchyliquid64
twitchyliquid64 deleted the test/mutants-task branch July 13, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:pr-nudge Applied by the pr-nudge agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants