Commit 417cc36
test: pin solana empty-watch RPC-skip (mutation-testing finding)
Ran mutation testing (mutmut) over the suite. Most "survivors" were either
descriptive message-string mutations we intentionally don't pin, or mutmut 3.6
false positives (its class-method mutant dispatch mis-reports lethal mutations as
survived — verified by hand: applying them does fail the suite).
A trustworthy by-hand mutation check of 12 security-critical comparisons killed
11 outright. The one genuine gap: removing the empty-watch guard in
SolanaAdapter.simulate left behavior unchanged (the extract_delta guard is a
redundant safety net), so no test caught that the guard's real job — skipping the
RPC for a degenerate input — had been removed. Added a test that observes the
injected rpc is never called. 106 tests pass, coverage stays 100%.
.gitignore: ignore mutmut's mutants/ working dir.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8d29e8f commit 417cc36
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
0 commit comments