Skip to content

ci(mutations): correct outcome counts in PR summaries - #580

Merged
Destynova2 merged 1 commit into
mainfrom
fix/mutation-summary-counts
Sep 22, 2026
Merged

Destynova2 merged 1 commit into
mainfrom
fix/mutation-summary-counts

Conversation

@Destynova2

Copy link
Copy Markdown
Contributor

The mutation job evaluated 36 mutants with 5 caught and 31 unviable, but its PR summary displayed 37 total and zero caught. The parser matched nonexistent uppercase outcome names and counted the unmutated baseline.

Read the aggregate counters already supplied by cargo-mutants so caught, missed, timed-out and unviable counts match its report, excluding the baseline.

Validated against the real three-mutant artifact and a mixed-outcome fixture; the previous parser reproduces the wrong counts. ShellCheck and whitespace checks pass.

@Destynova2
Destynova2 enabled auto-merge (squash) September 22, 2026 20:11
@Destynova2
Destynova2 merged commit 977b7aa into main Sep 22, 2026
26 checks passed
@Destynova2
Destynova2 deleted the fix/mutation-summary-counts branch September 22, 2026 20:13
Destynova2 added a commit that referenced this pull request Sep 22, 2026
## 🤖 New release

* `grob`: 0.36.108 -> 0.36.109

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.36.109](v0.36.108...v0.36.109)
- 2026-09-22

### Fixed

- *(security)* protect credential transport and Gemini API keys
([#585](#585))

### Other

- *(deps)* update cargo patch updates
([#583](#583))
- *(deps)* update github actions updates
([#584](#584))
- *(renovate)* run dependency updates with a dedicated GitHub App
([#581](#581))
- *(mutations)* correct outcome counts in PR summaries
([#580](#580))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
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