From 52f59cdc1530185ec2444d5a8e7fa34fe794d9df Mon Sep 17 00:00:00 2001 From: Lilleman Date: Tue, 1 Dec 2026 16:42:02 +0100 Subject: [PATCH] File item 570: make the usage-limit wait test independent of the clock --- todo.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index fbe3b2af..da588d0a 100644 --- a/todo.md +++ b/todo.md @@ -6,12 +6,13 @@ `Bar = 0.1` -`Next ID = 570` +`Next ID = 571` ## Items | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| +| 570 | 0.17.0 | | defect | **Make `test_waits_out_a_usage_limit_which_ends_a_run_of_failures` pass whatever the time of day; today it fails on some runs by ten seconds.** | 1 | 1 | 1 | 1 | 1 | code health by 2 | 2.9 | | 567 | 0.17.0 | | | **Make product-owner-reviewer report each sentence of the change that states a behaviour no code makes true yet, including one a later plan item will make true.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 | | 569 | 0.17.0 | | | **Rerun the stability pass on a fix for a 🟡 that adds a new unit of behaviour, such as a guard or shared state; today no pass reads it.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 | | 568 | 0.17.0 | | | **Make the prose and product-owner reviewers flag a number, threshold or "noise" claim in a README that no measurement in the change supports, and a measurement note that omits what it leaves out.** | 1 | 2 | 1 | 2 | 2 | 1.1 by 2 | 0.7 | @@ -110,6 +111,10 @@ ## Details +### 570. Make `test_waits_out_a_usage_limit_which_ends_a_run_of_failures` pass whatever the time of day; today it fails on some runs by ten seconds. + +`bin/loop_claude/test_black_box.py:713` expected the waits `[60, 60, 3720, 60, 600]` and got `[60, 60, 3710.0, 60, 600]` in CI run 7565, on a pull request that changed only `todo.md`. The wait until the usage limit resets seems to depend on the wall clock at the moment the test runs. Give the test a fixed clock, so the wait is the same on every run. + ### 567. Make product-owner-reviewer report each sentence of the change that states a behaviour no code makes true yet, including one a later plan item will make true. An outside reviewer caught what our review missed. A chunk added a doc paragraph that promised an effect, which held for one output and not for another. The product-owner reviewer had seen the gap and left it out of its report because a plan item already covers the missing half. The plan item makes the promise true later; until it ships, the paragraph the chunk adds is false for a reader who relies on it.