You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The referenced issue (#N) is closed/merged. Update or delete this comment so the next reader doesn't waste time looking it up.
Implementation pointers
Detection algorithm: Scan workflow + source comments for #N refs with phrasing like until #N/pending #N/gated on #N/awaits #N/blocked by #N/remove when #N; query GitHub API; flag if closed/merged.
Detector spec (from hypatia#333 Pattern 7)
Pattern 7 — Stale issue references in workflow / source comments
Severity: low (documentation rot)
Detection (
Hypatia.Rules.HonestCompletion):#Nissue/PR references with phrasing patterns like:until #N,pending #N,gated on #N,awaits #N,blocked by #N,remove when #NWorked example (this session):
continue-on-error: trueline when chore(deps): bump bb8 from 0.8.6 to 0.9.1 #104 publishes the adapter to npm." — chore(deps): bump bb8 from 0.8.6 to 0.9.1 #104 still open, but if it had closed without the comment being updated, this would be a stale reference.Remediation guidance to emit:
Implementation pointers
#Nrefs with phrasing likeuntil #N/pending #N/gated on #N/awaits #N/blocked by #N/remove when #N; query GitHub API; flag if closed/merged.affinescript/.github/workflows/ci.ymlvscode-smoke comment "Remove thecontinue-on-error: trueline when chore(deps): bump bb8 from 0.8.6 to 0.9.1 #104 publishes the adapter to npm." (chore(deps): bump bb8 from 0.8.6 to 0.9.1 #104 still open at the time, but illustrative).Acceptance
lib/rules/<name>.exif Elixir, or matching the repo's rule DSL)Source cohort: hypatia#333.