Skip to content

test: cover surviving mutants in libstackerdb + stacks-codec#3

Open
simone-stacks wants to merge 3 commits into
developfrom
quality/coverage
Open

test: cover surviving mutants in libstackerdb + stacks-codec#3
simone-stacks wants to merge 3 commits into
developfrom
quality/coverage

Conversation

@simone-stacks

Copy link
Copy Markdown
Owner

Three targeted unit tests that kill 14 surviving cargo-mutants:

  • StackerDBChunkData::{sign,verify} round-trip — closes the verify -> Ok(true) mutant (vacuous signature acceptance).
  • StackerDBChunkData consensus codec round-trip — closes the no-op consensus_serialize mutant.
  • read_next_at_most / read_next_exact length-bound tests in stacks-codec (which shipped with zero unit tests) — closes 11 mutants on the consensus-wire length-prefix guards.

Result of a first smoke-test of the quality-agent.

@coderabbitai

coderabbitai Bot commented May 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c44653e7-f86e-423c-995c-6a422c65b471

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch quality/coverage

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant