From 89c8367793ae80ad583fe19cefa3039168159ce9 Mon Sep 17 00:00:00 2001 From: Luis Markmann <110569833+lmarkmann@users.noreply.github.com> Date: Sat, 29 Aug 2026 12:11:53 +0200 Subject: [PATCH] ci: run mutants on demand rather than on every pull request ci.yml finishes in 2 minutes of wall clock, six jobs in parallel behind a 1.9m Windows leg. The mutants job took 12 to 19 minutes on top of that, six to ten times everything else combined, and it was continue-on-error so it could never fail a PR. A dashboard priced like a gate. The justification for putting it on PRs was that the full crate is hours while a diff is minutes. The first half is right and the second is not: almost all the time is rebuilds rather than mutants, and a ten-minute local --in-diff run got through five unviable mutants and executed none of them. workflow_dispatch stays, so the capability is unchanged and only its automatic cost is gone. Killing survivors is deliberate work now, which suits it better: the module with the most of them is analytic_sky, where every one sits in the chromaticity coefficients and no test written for them so far has closed one. --- .github/workflows/mutants.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/mutants.yml b/.github/workflows/mutants.yml index fbd1c10..21bd4ae 100644 --- a/.github/workflows/mutants.yml +++ b/.github/workflows/mutants.yml @@ -1,15 +1,6 @@ name: mutants on: - pull_request: - branches: [main] - paths: - - "src/**" - - "tests/**" - - "Cargo.toml" - - "Cargo.lock" - - ".cargo/mutants.toml" - - ".github/workflows/mutants.yml" workflow_dispatch: permissions: