Answer principles round 2: 0 🔴, 1 🟡 (0 misread); remove ci.sh's container when a patch cut stops it, show task-bench's count defaults where they apply, and take ci.sh's bound from the forge's wait
CI / tests (pull_request) Successful in 4m47s

This commit is contained in:
2026-11-27 12:09:14 +01:00
parent 4fc4763710
commit be96c36591
6 changed files with 101 additions and 30 deletions
+6
View File
@@ -457,6 +457,12 @@ class MainTest(unittest.TestCase):
self.assertEqual(self.run_main("--test", "go test ./...")[1].partition(";")[0], "--image is missing")
self.assertEqual(self.run_main("--image", "golang:1.27.4")[1].partition(";")[0], "--test is missing")
def test_fills_in_each_default_of_the_kind_and_leaves_what_it_was_given_as_it_was(self):
given = {"--image": "i", "--test": "t", "--runs": "7"}
filled = main.checked(given, {"CLAUDE_CODE_OAUTH_TOKEN": "t"})
self.assertEqual(given, {"--image": "i", "--test": "t", "--runs": "7"})
self.assertEqual(filled, {"--image": "i", "--test": "t", "--tasks": "bugs", "--runs": "7", "--bugs": "5", "--seed": "1"})
def test_refuses_a_count_that_is_no_whole_number_from_1(self):
for name, value in (("--bugs", "0"), ("--runs", "-1"), ("--seed", "x")):
self.assertEqual(self.run_main("--image", "i", "--test", "t", name, value)[1].partition(";")[0], f"{name} takes a whole number from 1, not {value}")