Repository navigation
ci: fail the scheduled run when a source is due for a recheck - #122
Merged
Merged
Conversation
The daily freshness job printed catalog warnings and stayed green, so nobody was told when an entry went stale (the first two would have on 2026-11-03). Guide sources had dates but no check at all. - catalog.py gains --fail-on-warning. - New tools/review_dates.py finds "Reviewed **YYYY-MM-DD**", "Checked:" and similar dates in the guides, checklists, CONTRIBUTING, SECURITY and the tools README, ignores examples in code, warns after 180 days (30 for the programs guide) and rejects future or impossible dates. - pins.yml runs both with --fail-on-warning and every step even after one fails. Pull-request CI is unchanged and does not depend on the calendar. - The maintenance workflow describes the recheck routine; CONTRIBUTING says a date changes only after the source was actually re-read. Closes #99 Closes #64 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 23, 2026
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.
Reader problem and change
The maintenance guide promised that review-date drift "shows up without a push", but the daily freshness job printed
WARN:lines and stayed green. The first two catalog entries go stale on 2026-11-03, and nobody would have been told (#99). Guide sources had "Reviewed" dates but no check at all (#64).catalog.py --fail-on-warning: a due recheck exits 1.tools/review_dates.py:Reviewed **YYYY-MM-DD**,reviewed YYYY-MM-DD,Checked: YYYY-MM-DDandrechecked …, including dates split by a line break;guides/programs.md, matching the catalog's program rule;--fail-on-warningand--today.pins.ymlruns both tools with--fail-on-warning, plus the existing self-audit, and every step runs even after one fails. A due recheck turns the scheduled run red, and GitHub notifies the owner. Pull-request CI is unchanged, so a PR can't go red because a date passed.tools/README.mddocuments both flags.Closes #99
Closes #64
Evidence
review_dates.pyfinds 19 review dates in BeautifulRepo, all current today. With--today 2026-11-03, onlyguides/programs.mdwarns (31 days). With--today 2027-06-01, all 19 warn.catalog.py --fail-on-warningon a copy whose entries date from 2020 exits 1, and without the flag it exits 0.Verification
tests/test_review_dates.pycovers:Limitations
🤖 Generated with Claude Code