@spardutti/claude-skills 2.36.0 → 2.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,12 +36,16 @@ owner_of() {
|
|
|
36
36
|
# Blaming an unreachable database for that sent one agent chasing Docker for 20 minutes.
|
|
37
37
|
mutmut_unchecked() { # mutmut_unchecked <label> <base> <count> <run log>
|
|
38
38
|
echo " $1 mutmut — UNPROVEN: $3 mutant(s) were never run."
|
|
39
|
-
|
|
39
|
+
# "Failed to run pytest with args" is one line carrying every selected test id — 20KB of
|
|
40
|
+
# them on one repo — so the line is cut. Unlisted, the gate blamed a database instead.
|
|
41
|
+
stop='Failed to run clean test|failed to collect stats|Failed to collect list of tests|Stopping early|Failed to run pytest with args|BadTestExecutionCommandsException'
|
|
40
42
|
if grep -aqsE "$stop" "$4"; then
|
|
41
43
|
echo " mutmut stopped before testing a single mutant:"
|
|
42
|
-
grep -aE "^(FAILED|ERROR) |^[A-Za-z]*Error: |$stop" "$4" | tail -8 | sed 's/^/ /'
|
|
44
|
+
grep -aE "^(FAILED|ERROR) |^[A-Za-z]*Error: |$stop" "$4" | tail -8 | cut -c1-200 | sed 's/^/ /'
|
|
43
45
|
echo " It runs the whole suite, then these tests again in one process, so a"
|
|
44
46
|
echo " test that passes alone can fail here on state an earlier test left."
|
|
47
|
+
echo " mutmut hides pytest's own error: set debug = true under [tool.mutmut]"
|
|
48
|
+
echo " and run it again to read it."
|
|
45
49
|
return
|
|
46
50
|
fi
|
|
47
51
|
echo " They are recorded \"not checked\", so the suite proved nothing"
|