Skip to content

Scheduled checks stay green when catalog sources go stale #99

Closed

Description

@drevendev

Reader problem

The maintenance guide says the daily scheduled workflow makes "review-date and entry-point drift show up without a push". For catalog review dates it doesn't: stale entries only print WARN: lines in the job log, the run stays green, and nobody is notified.

Evidence

Observed on 2026-10-23 at master 1114ffe.

  • tools/catalog.py:168-169 prints freshness warnings to stderr. main() returns 0 whenever there are no errors (tools/catalog.py:180-181).
  • The freshness job in .github/workflows/pins.yml runs plain python tools/catalog.py. Nothing turns a warning into an annotation or a failure. (The self-audit step in the same job does fail, through --fail-on warning.)
  • All 11 entries in catalog/resources.json have reviewed_on: 2026-10-03. Calling catalog.validate() with a fixed date gives 0 warnings on 2026-11-02, 2 on 2026-11-03 (hacktoberfest-2026 and gsoc-2026, which have a 30-day program threshold), and all 11 on 2027-04-02. On each of those days the scheduled run would still be green.
  • guides/maintenance-workflow.md:79-81 promises the opposite.

Acceptance

  • A scheduled run makes stale catalog entries visible without anyone opening the log. Two options: ::warning:: workflow annotations, which appear on the run summary, or a --fail-on-warning option used only by the scheduled job, so that GitHub's failed-run notification reaches the owner.
  • Pull-request CI stays independent of the calendar: a PR must not turn red just because a date passed.
  • A unit test covers the new behaviour with a fixed date, not today's date.
  • tools/README.md and guides/maintenance-workflow.md describe what actually happens.
  • Never silence a warning by moving reviewed_on without re-reading the source.

The first real warnings arrive on 2026-11-03.

Related: #59, #64

Activity

  1. added
    bug
    self-check
    on Oct 23, 2026
  2. added a commit that references this issue on Oct 23, 2026
    24f746d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugself-check

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions