Answer stability round 1: 1 🔴, 3 🟡 (0 misread); call project-config by its path in the README, pin the run-heavy breach, say who has the tools on PATH
CI / tests (pull_request) Has been cancelled

This commit is contained in:
2026-12-03 14:25:42 +01:00
parent 65c957bcea
commit 3a0097e959
6 changed files with 22 additions and 13 deletions
+4
View File
@@ -128,6 +128,10 @@ class CommandBreaches(unittest.TestCase):
with self.subTest(command):
self.assertEqual(checked(command), ["run-heavy"])
def test_the_run_heavy_breach_quotes_the_first_80_characters_of_the_command_and_names_its_folder(self):
command = "docker build -t " + "x" * 80 + " ."
self.assertEqual(breaches(command), [Breach("run-heavy", f"run `{command[:80]}` under `run-heavy`, in the background", "/r")])
def test_a_heavy_command_under_run_heavy_or_a_light_docker_or_mutmut_call_passes(self):
for command in ["~/tools/run-heavy docker build -t x .", "/home/me/.claude/bin/run-heavy uvx mutmut run", "nice -n 19 ~/tools/run-heavy docker build .", "env X=1 run-heavy docker compose run app mutmut run", "docker images", "docker compose run --rm app go vet", "docker compose run app make build", "uvx 'mutmut>=3,<4' results", "echo docker build", "npx prettier --check infection.json5", "echo mutmut run", "env", "docker build --help", "cargo mutants --list", "infection --version", "uvx mutmut a b run", "run-heavy mutate-changes --jobs 2", "mutate-changes --help"]:
with self.subTest(command):