Skip to content

Add cargo_mutants_version field to outcomes.json#562

Merged
sourcefrog merged 7 commits intomainfrom
copilot/fix-f17b10ff-14e3-4e2b-9419-6198abd56d45
Oct 12, 2025
Merged

Add cargo_mutants_version field to outcomes.json#562
sourcefrog merged 7 commits intomainfrom
copilot/fix-f17b10ff-14e3-4e2b-9419-6198abd56d45

Conversation

Copy link
Contributor

Copilot AI commented Oct 6, 2025

  • Add cargo_mutants_version field to LabOutcome struct in src/outcome.rs
  • Set version directly from crate::VERSION in LabOutcome::new() (no parameter needed)
  • Strip cargo_mutants_version in test utility to avoid brittle version-specific assertions
  • Fold version check into existing small_well_tested_tree_is_clean test
  • Run tests to verify the change works correctly
  • Update documentation in NEWS.md and book/src/mutants-out.md
Original prompt

This section details on the original issue you should resolve

<issue_title>Add a cargo_mutants_version field into LabOutcome written to outcomes.json.</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #561

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits October 6, 2025 15:06
Co-authored-by: sourcefrog <346355+sourcefrog@users.noreply.github.com>
Co-authored-by: sourcefrog <346355+sourcefrog@users.noreply.github.com>
Copilot AI changed the title [WIP] Add a cargo_mutants_version field into LabOutcome written to outcomes.json. Add cargo_mutants_version field to outcomes.json Oct 6, 2025
Copilot AI requested a review from sourcefrog October 6, 2025 15:11
Co-authored-by: sourcefrog <346355+sourcefrog@users.noreply.github.com>
…ersion assertions

Co-authored-by: sourcefrog <346355+sourcefrog@users.noreply.github.com>
@sourcefrog sourcefrog marked this pull request as ready for review October 11, 2025 23:41
@sourcefrog sourcefrog merged commit 674b5ca into main Oct 12, 2025
15 checks passed
@sourcefrog sourcefrog deleted the copilot/fix-f17b10ff-14e3-4e2b-9419-6198abd56d45 branch October 12, 2025 01:00
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.

Add a cargo_mutants_version field into LabOutcome written to outcomes.json.

2 participants