Skip to content

Decide Whether the Audit Reports a Caller Pin Behind the Newest Hub Release #4137

Closed

Description

@ptr727

Question

Should spec/audit.py report a caller workflow whose ptr727/ProjectTemplate/.github/workflows/*-task.yml@<tag> pin is older than the newest hub release?

Today no audit check compares a caller's pin with the newest release. So a repository whose Dependabot github-actions group has stalled, or one mid-resync, reads clean on a pin any number of releases old. The only way to see it is a hand comparison.

Options

  1. Recommended: report it as an advisory, not as drift. The audit reads the newest hub release tag and names each caller pin behind it, with how many releases behind. Reason: the comparison is deterministic, so a tool can decide it, and a gap left to prose has already been missed once. It stays advisory because a pin trailing a release that shipped hours ago is normal while Dependabot catches up, so a drift finding would fire on every repository after every release.
  2. Report it as drift. Same comparison, at drift severity. Reason for: a stalled update group is a real gap and drift is what a resync acts on. Reason against: every repository reads as drifting from each hub release until its next Dependabot run, which buries real findings.
  3. No check. Keep it a hand comparison, named in RESYNC.md section 5 "What a Resync Cannot Detect". Reason for: no new audit code or network read. Reason against: the hand check is the step that was skipped.

Context

Split from #4117 by the backlog-burndown away run, round 2. #4117 offers either an audit check or a RESYNC.md section 5 entry and does not choose. The RESYNC.md entry is being made in that issue's group this round, for both of its gaps, so option 3 is what stands until this is answered. The hook-helper half of #4117 is not part of this question: GOVERNANCE.md "Running the Linters Locally" already says the parity.hooks check is judged by hand and never mechanized by spec/audit.py.

Activity

  1. added
    decision
    on Nov 13, 2026
  2. ptr727 commented on Nov 16, 2026

    @ptr727
    OwnerAuthor

    Answered by the maintainer, 2026-11-15: option 1, an advisory report. spec/audit.py reads the newest hub release tag and names each caller pin behind it, with how many releases behind, as an advisory rather than drift. This is now work.

  3. removed
    decision
    on Nov 16, 2026
  4. ptr727 commented on Nov 20, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown claim (2026-11-19 attended run, round 1, group 8): branch burndown/audit-pin-age.

    Issues: #1418, #4137.

    Predicted file set:

    • spec/audit.py
    • spec/checks.json
    • tests/test_audit_helpers.py
    • RESYNC.md
    • spec/audit_pins.py (granted by the orchestrator, 2026-11-19: the new check's module, since spec/audit.py sits at its size ceiling)
    • tests/test_audit_size.py (granted by the orchestrator, 2026-11-19: the new module's own ceiling)
    • tests/test_audit_pins.py (granted by the orchestrator, 2026-11-19: the new module's tests, one test file per module)

    Generated from those: none.

    Claim extended (2026-11-19): AUDIT.md.

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