You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Quota-bound wait recovery test fails on main #7435
On main at aec2a1b, four cases of tests/test_quota_bound_wait_recovery.py::test_bound_wait_recovers_original_turn_before_selecting_successor fail (monitor_changed and todo_done, each with file and sqlite). The failure is an assertion on a result with 'ok': False.
Main's Python test workflow run 40371465209 also reports failures for this test (2 test IDs in its failed-job log).
Thanks for the clear repro. I'd like to take a shot at this one — I'll re-run the four failing parameterizations on current main to confirm they're still red, then dig into why the recovery path returns ok: false for monitor_changed / todo_done. I'll follow up here with a diagnosis and a PR.
Follow-up from my earlier comment: the root cause was 155dee1 retiring the unmigrated read fallback — this test still read the source Markdown before initializing canonical authority. #7502 (00f6be3) landed that migration on main: the test now seeds authority via read_fixture_todos(state) before any CLI read. Verified on main 787f15e (Node 24): pytest tests/test_quota_bound_wait_recovery.py → 4 passed. I'm closing my PR #7503 as superseded; this issue looks closable as fixed.
Verification receipt on current main — clean source checkout at 23dacd5fb449194c6a8d83e9764534cdbdd081b4 (2026-11-21):
LOOPX_TEST_PYTHON=python3 PYTHONPATH=. uv run --extra test pytest tests/test_quota_bound_wait_recovery.py -q
.... [100%]
4 passed in 7.39s
All four originally failing parameterizations (monitor_changed / todo_done × file / sqlite) pass. Same 4-passed result before and after npm ci --ignore-scripts in the checkout, so the recovery CLI path is exercised with the TS dependencies present.
Fix chain on main:
00f6be3e4 "test: supply canonical planning facts to existing readback journeys" (landed via test: restore canonical fixture and durable recovery regression coverage #7502). The pre-fix test called cli("todo", "list", ...) before initialize_canonical_authority(...); with 155dee190 having retired the unmigrated read fallback, that first CLI read failed and the recovery result carried ok: false in the monitor_changed / todo_done cases. The commit replaces the pre-initialization CLI read with read_fixture_todos(state), so canonical authority is seeded before any CLI read.
Activity
Aboysky commentedon Oct 27, 2026
Thanks for the clear repro. I'd like to take a shot at this one — I'll re-run the four failing parameterizations on current main to confirm they're still red, then dig into why the recovery path returns
ok: falseformonitor_changed/todo_done. I'll follow up here with a diagnosis and a PR.Aboysky commentedon Oct 28, 2026
Follow-up from my earlier comment: the root cause was 155dee1 retiring the unmigrated read fallback — this test still read the source Markdown before initializing canonical authority. #7502 (00f6be3) landed that migration on main: the test now seeds authority via
read_fixture_todos(state)before any CLI read. Verified on main 787f15e (Node 24):pytest tests/test_quota_bound_wait_recovery.py→ 4 passed. I'm closing my PR #7503 as superseded; this issue looks closable as fixed.LIHUA919 commentedon Nov 21, 2026
Verification receipt on current main — clean source checkout at
23dacd5fb449194c6a8d83e9764534cdbdd081b4(2026-11-21):All four originally failing parameterizations (
monitor_changed/todo_done×file/sqlite) pass. Same 4-passed result before and afternpm ci --ignore-scriptsin the checkout, so the recovery CLI path is exercised with the TS dependencies present.Fix chain on main:
00f6be3e4"test: supply canonical planning facts to existing readback journeys" (landed via test: restore canonical fixture and durable recovery regression coverage #7502). The pre-fix test calledcli("todo", "list", ...)beforeinitialize_canonical_authority(...); with155dee190having retired the unmigrated read fallback, that first CLI read failed and the recovery result carriedok: falsein themonitor_changed/todo_donecases. The commit replaces the pre-initialization CLI read withread_fixture_todos(state), so canonical authority is seeded before any CLI read.793e15fb4([codex] Follow captured quota context in recovery fixtures #8093) later aligned the same fixtures with captured quota context; the module remains green on the current tip.This matches the earlier finding above (4 passed at
787f15e82). From this rerun the issue looks closable as fixed; leaving the close to maintainers.