Skip to content

Fix #5: Make parallel builds possible - #69

Merged
lefticus merged 1 commit into
cpp-best-practices:mainfrom
leftibot:fix/issue-5-make-parallel-builds-possible
Nov 23, 2026
Merged

lefticus merged 1 commit into
cpp-best-practices:mainfrom
leftibot:fix/issue-5-make-parallel-builds-possible

Conversation

@leftibot

Copy link
Copy Markdown
Contributor

Automated fix by @leftibot.

What changed

Fix #5: run the covering tests of a mutant in parallel with --jobs
Every mutant is applied to the one source tree and rebuilt in the one build
folder the user passes, so two mutants can't build at the same time. The tests
covering a single built mutant can share that build, though. The new
-j/--jobs N option (for --strategy per-mutant) runs them N at a time,
fastest first, and stops after the batch that detects the mutant. Results are
still recorded per test as they complete, so --resume still works.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Files

 strain/cli.py            |  9 +++++++
 strain/runner.py         | 53 ++++++++++++++++++++++++++++++------
 tests/test_cli.py        | 11 ++++++++
 tests/test_end_to_end.py | 22 +++++++++++++++
 tests/test_runner.py     | 70 +++++++++++++++++++++++++++++++++++++++++++++++-
 5 files changed, 156 insertions(+), 9 deletions(-)

Closes #5

Triggered by @lefticus.

@lefticus

Copy link
Copy Markdown
Member

@leftibot rebase this branch on main so we can see if main fixes the build issues

@leftibot

leftibot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ leftibot stopped unexpectedly while working on this. Leaving for human review.

3 similar comments
@leftibot

leftibot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ leftibot stopped unexpectedly while working on this. Leaving for human review.

@leftibot

leftibot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ leftibot stopped unexpectedly while working on this. Leaving for human review.

@leftibot

leftibot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ leftibot stopped unexpectedly while working on this. Leaving for human review.

…lel with --jobs

Every mutant is applied to the one source tree and rebuilt in the one build
folder the user passes, so two mutants can't build at the same time. The tests
covering a single built mutant can share that build, though. The new
`-j/--jobs N` option (for `--strategy per-mutant`) runs them N at a time,
fastest first, and stops after the batch that detects the mutant. Results are
still recorded per test as they complete, so `--resume` still works.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leftibot

leftibot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ leftibot stopped unexpectedly while working on this. Leaving for human review.

@leftibot
leftibot force-pushed the fix/issue-5-make-parallel-builds-possible branch from bbc3397 to 7803ca6 Compare November 23, 2026 00:16
@leftibot

leftibot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

❌ leftibot stopped addressing the review feedback without producing a change.

@leftibot

Copy link
Copy Markdown
Contributor Author

Hi @lefticus — I tried to address the review feedback but couldn't produce a working change. May need human attention.

@lefticus
lefticus merged commit 36ef18f into cpp-best-practices:main Nov 23, 2026
10 of 12 checks passed
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.

Make parallel builds possible

2 participants