feature:Add a mutation-testing setup for compliance and invoice, exte……nding #94's treasury-only coverage - #515
Merged
misrasamuelisiguzor-oss merged 3 commits intoAug 31, 2026
Conversation
…nding WHEELBACK#94's treasury-only coverage
|
@nzubepolycap-hub Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
misrasamuelisiguzor-oss
merged commit Aug 31, 2026
49e35f9
into
WHEELBACK:main
9 of 16 checks passed
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.
closes #470
Work Summary
Objective
Extend the existing treasury mutation-testing workflow with equivalent jobs for
the compliance and invoice contracts.
Changes Made
mutants-complianceGitHub Actions job in.github/workflows/test.yml.workflow_dispatch.cargo-mutants.contracts/compliance/src/allowlist.rs.mutants-invoiceGitHub Actions job in.github/workflows/test.yml.workflow_dispatch.cargo-mutants.contracts/invoice/src/invoice.rs.mutants-treasuryjob structure and behavior.rustupso the workspace could be validated.compliance-clientdependency configuration.create_invoiceAPI.entrypoint signatures.
Branch and Commit
COMEBACKHERE-contracts470ff4cbfffeature:Add a mutation-testing setup for compliance and invoice, extending #94's treasury-only coverageValidation
The following required command sequence was run:
cargo test --all cargo clippy --all -- -D warnings cargo fmt --all -- --checkValidation did not complete successfully. The test phase still reports
remaining legacy test-suite issues, including duplicate invoice test
definitions, outdated
create_invoicecalls missing themerchant_nonceargument, and calls to APIs whose current return types no longer provide
.unwrap().The workflow configuration itself is present and both new mutation jobs are
gated behind manual
workflow_dispatchruns.