Repository navigation
#160 test: the parse-agreement fixtures are read on a fixed day - #162
Merged
Merged
Conversation
…he dated window can't expire Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndow, off the boundary Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…indow closes on Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…constants Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
test_the_parse_agrees_with_the_skills_reader[wrap-and-dated]has been red since 2026-12-02 00:00Z. Its fixture's dated window (2026-12-01 01:00-02:00) becamepast-windowin the skill's reader, which flags a dated window from the day after it, and_read_knobasserts no findings.The fix:
_read_knobtakes an optionaltoday, which it passes toread-knob.sh --today. The parametrized fixtures are read on a fixedFIXTURE_TODAY = "2026-11-30", the day before their dated window, so the dated case tests the parse, not the calendar or the reader's same-day boundary.test_the_committed_knob_agrees_with_the_skills_readerstill reads on the real date, because a past window in the committed knob is a real finding.Verification
past-window, line 4).[]with--today 2026-12-01and['past-window']with--today 2026-12-02.tests/test_patching.py75 passed; the full local suite has 1082 passed and none failed; ruff clean.599bd04,7dcecfb,72bc894,ee97ec3): read on the day before the window, not its own day; the comment's rule is the day after the window closes; the constant sits with the module's others; onlyNonefalls back to the real date. The reader on the fixture gives[]on2026-11-30too.read-knob.sh(tests/test_patching_knob.py:106,:117,:131) already passes--today.tests/test_apt_automatic.pyreads only the committed knob.ea585edand #158 docs: the disk GC is VERSION 5, which keeps only the newest staged VS Code build #161 atc358665each failed only this test (1 failed, 1116 passed).Closes #160
🤖 Generated with Claude Code