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
test_patching: wrap-and-dated fixture's dated window expired 2026-12-01; suite red on main #160
tests/test_patching.py::test_the_parse_agrees_with_the_skills_reader[wrap-and-dated] fails on main (ade4e31) since 2026-12-02 00:00Z: the reader flags a dated window once the day after it has begun (skills/patching-hosts/scripts/_knob-lib.sh, past-window). main's last CI run, 2026-12-01 15:28Z, passed before that. Its fixture (tests/test_patching.py:171) carries a dated window, window 2026-12-01 01:00-02:00 bulletin, and the skill's knob reader now reports it:
AssertionError: [{'line': 4, 'kind': 'past-window', 'message': 'window 2026-12-01 01:00-02:00 has passed; remove the line, which git history keeps'}]
_read_knob asserts findings == [], so the test is a time bomb that went off. It fails the local gate on every branch, docs-only ones included (seen on #158's branch, 2026-12-02 17:30Z, and reproduced in the deploy checkout). Every CI run of the full suite from 2026-12-02 should fail the same way [expected; no such run observed yet].
Fix
Make the fixture's date independent of the clock: a date far in the future, or one computed from today. Then the test checks the parse, not the calendar. TDD: the failing test is already red.
Confirmed in CI: #159's run on ea585ed (2026-12-02 17:49Z) failed on exactly this test: 1 failed, 1116 passed, 41 skipped, past-window for window 2026-12-01 01:00-02:00. Every full-suite CI run fails until this is fixed.
Activity
gregoryfoster commentedon Dec 2, 2026
Confirmed in CI: #159's run on
ea585ed(2026-12-02 17:49Z) failed on exactly this test:1 failed, 1116 passed, 41 skipped,past-windowforwindow 2026-12-01 01:00-02:00. Every full-suite CI run fails until this is fixed.#160 test: CR 1 — the fixtures are read the day before their dated wi…
#160 test: CR 2 — past-window counts from the day after the one the w…
#160 test: CR 3 — FIXTURE_TODAY sits with the module's other fixture …
#160 test: CR 4 — only None falls back to the real date