Skip to content

Process hygiene: PR-title 'closes #N' doesn't trigger auto-close — body-only #90

Description

@rubenvdlinde

Context

Multiple PRs that landed today specified (closes #N) in their title but referenced issues stayed open until manually closed during the 2026-05-19 issue-sweep:

GitHub's auto-close requires Closes #N / Fixes #N as a top-level token in the PR body (not title, not parenthesised), targeting the default branch.

Action

  • Document the requirement in CONTRIBUTING / PR template
  • Update the PR template to include a ## Closes section that prompts the keyword in the body
  • Consider a CI lint that warns when PR title says 'closes #N' but body lacks the keyword
  • (Optional) GraphQL sweep over last N days of merged PRs to manually close stragglers

Why this matters

Issues stay falsely open → assignees underestimate completed work → unreliable backlog metrics.

Metadata

Metadata

Assignees

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