Measure routing figures every 20 cycles and raise each call for a routing change once #265

Merged
lilleman merged 15 commits from routing-figures into main 2026-10-15 07:25:28 +02:00
Showing only changes of commit ad3f1d3cad - Show all commits
+1
View File
@@ -435,6 +435,7 @@ class RoutingCheck(unittest.TestCase):
stop, _ = self.check(FakeEffects(on_terminal_claude=[OSError(2, "No such file or directory")], git=[ran()]))
self.assertEqual(stop, Stop(1, "could not start claude for the routing calls: No such file or directory"))
@unittest.skipIf(os.geteuid() == 0, "root writes into a read-only directory")
def test_says_a_figure_it_cannot_write_and_goes_on(self):
self.chunks(5, 4)
(self.root / "routing-figures.lock").touch()