You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
payjoin/src/core/send/mod.rs:296:24: replace match guard with true
payjoin/src/core/send/v1.rs:53:93: replace + with -
payjoin/src/core/send/v1.rs:53:93: replace + with *
payjoin/src/core/send/v1.rs:53:89: replace + with -
payjoin/src/core/send/v1.rs:53:89: replace + with *
payjoin/src/core/send/v1.rs:53:93: replace + with -
payjoin/src/core/send/v1.rs:53:93: replace + with *
payjoin/src/core/send/v1.rs:53:89: replace + with -
payjoin/src/core/send/v1.rs:53:89: replace + with *
Running cargo mutants version: cargo-mutants 25.0.1
For the complete list, please check the mutants.out artifact.
This mutants look valid and worth addressing. From the logs here, most of them are arithmetic mutations (+ replaced with - or *) and a match guard replaced with true. I think these slipped through because the current tests aren’t asserting specific enough behavior in those paths.
I can go through them one by one and either:
Add focused tests to catch the mutant, or
Exclude it with a TODO if the logic is intentionally flexible or hard to isolate cleanly.
I’m not planning to skip these globally, Iwill handle them on a per-function basis to keep things precise. Let me know if the approach is okay and I'll take it up
We already started a bit of this discussion earlier this week as I foresaw this mutant coming, this test was accidentally removed in #847 but already have done most of the work to fix these mutants in #882 thanks for being proactive though!
Activity
Cyber-Lord commentedon Jul 20, 2025
This mutants look valid and worth addressing. From the logs here, most of them are arithmetic mutations (+ replaced with - or *) and a match guard replaced with true. I think these slipped through because the current tests aren’t asserting specific enough behavior in those paths.
I can go through them one by one and either:
Add focused tests to catch the mutant, or
Exclude it with a TODO if the logic is intentionally flexible or hard to isolate cleanly.
I’m not planning to skip these globally, Iwill handle them on a per-function basis to keep things precise. Let me know if the approach is okay and I'll take it up
benalleng commentedon Jul 20, 2025
We already started a bit of this discussion earlier this week as I foresaw this mutant coming, this test was accidentally removed in #847 but already have done most of the work to fix these mutants in #882 thanks for being proactive though!
Cargo mutants version update (payjoin#882)