Skip to content

check_cards: a future-dated pinned_at_utc switches off the grace limit #242

Description

@realmarcin

From the round-3 review of #212.

Where: scripts/fleet/check_cards.py check() and classify().

If pinned_at_utc is later than now, age is negative, so the 14-day limit never applies. A grown card stays "grew" until the clock passes the typed pin plus 14 days: about 13 months for a one-year typo. The provenance test only checks that the value parses.

Fix:

  • In the check, report AUDIT when the pin is later than now.
  • In the provenance test, require the latest pinned commit date ≤ pinned_at_utc ≤ checked_at_utc.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions