Start every feature from one committed tree per side, and name the kind of task in each table and digest
CI / tests (pull_request) Successful in 3m44s

This commit is contained in:
2026-11-23 17:08:09 +01:00
parent b053a54989
commit b355a2025c
6 changed files with 43 additions and 39 deletions
+5 -1
View File
@@ -184,7 +184,8 @@ class FeatureBenchTest(unittest.TestCase):
def test_fails_where_no_feature_counts_saying_why_each_does_not(self):
(self.tasks / "halve/acceptance/halve_test.go").write_text("echo 'never passes'\nexit 1\n")
self.assertEqual(self.bench().reason, f"None of the 1 features in {self.tasks} counts. halve: its acceptance tests fail with the reference patch at the base.")
feature(self.tasks / "stale", acceptance="exit 0\n", test="stale_test.go")
self.assertEqual(self.bench().reason, f"None of the 2 features in {self.tasks} counts. halve: its acceptance tests fail with the reference patch at the base. stale: its acceptance tests pass at the base before it is built.")
self.assertNotIn(["claude"], [call[-2:-1] for call in map(json.loads, self.log.read_text().splitlines())])
def test_fails_before_any_container_starts_where_the_config_or_the_folder_is_at_fault(self):
@@ -220,6 +221,9 @@ class OptionsTest(unittest.TestCase):
self.assertEqual(self.options("--tasks", "features")["--tasks"], "features")
self.assertEqual(self.options("--tasks=chores").reason, "--tasks takes bugs or features, not chores")
def test_features_run_5_times_at_each_side_by_default(self):
self.assertEqual(self.options("--tasks", "features")["--runs"], "5")
def test_the_options_that_choose_bugs_are_refused_with_features(self):
for option in ("--seed", "--bugs", "--prefix"):
with self.subTest(option=option):