Skip to content

fix(ci): use --force instead of --no-incremental for cold mutation run#6

Merged
msalvatti merged 1 commit into
mainfrom
fix/mutation-nightly-force-flag
Jun 1, 2026
Merged

fix(ci): use --force instead of --no-incremental for cold mutation run#6
msalvatti merged 1 commit into
mainfrom
fix/mutation-nightly-force-flag

Conversation

@msalvatti

Copy link
Copy Markdown
Member

Stryker 9.6.1 does not support --no-incremental. The correct flag to force all mutants to run regardless of an existing incremental cache file is --force.

Stryker 9.6.1 does not support --no-incremental. The correct flag to
force all mutants to run regardless of an existing incremental cache
file is --force.
Copilot AI review requested due to automatic review settings June 1, 2026 09:33
@msalvatti msalvatti merged commit f1b8faa into main Jun 1, 2026
1 check passed
@msalvatti msalvatti deleted the fix/mutation-nightly-force-flag branch June 1, 2026 09:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the nightly mutation-testing GitHub Actions workflow to run “full” mutation testing by changing the Stryker CLI flags used for both API and web jobs.

Changes:

  • Replace pnpm exec stryker run --no-incremental with pnpm exec stryker run --force for API and web mutation runs
  • Update inline comments describing the intent of a “cold baseline” mutation run

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 56 to +58
- name: Run full mutation testing (api)
working-directory: apps/api
run: pnpm exec stryker run --no-incremental
run: pnpm exec stryker run --force
Comment on lines 88 to +90
- name: Run full mutation testing (web)
working-directory: apps/web
run: pnpm exec stryker run --no-incremental
run: pnpm exec stryker run --force
Comment on lines +54 to +55
# `--force` makes Stryker run all mutants even if an incremental file
# exists, giving a true cold baseline without relying on any cache.
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.

2 participants