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
{{ message }}
Repository navigation
fix(github): gh issues close-merged misses issues older than the newest n #778
priority/p2-mediumPriority P2: standard workscope/githubGitHub Projects v2, Views, Milestones, Labels, and PR automationtype/bugType bug: the code does not do what it must
gh issues close-merged closes the issues a merged pull request names, because GitHub honours closing keywords only on the default branch. get_issue_states (github/issue_closure.py:179-190) lists issues newest first with --limit set to the highest wanted number, so a pull request that closes only #5 lists the 5 newest issues and never sees #5. No test covers it.
Scope & Deliverables
Deliverable: every wanted issue is read whatever its age, and one that can't be read is reported, never treated as closed or absent. A test covers a pull request that closes only an old issue.
Placement (2026-10-01): stays in the backlog with no release slot. #743 (v0.2.26) replaces this code and names this item as superseded. Today it misses only issues numbered #326 or lower. Close this as not planned when #743 merges.
Grooming (2026-10-02): Priority p1-high → p2-medium. The miss is reported, not silent. It affects only issues numbered #326 or lower, and nothing is lost: the issue just stays open.
Checked against the code at the release/v0.2.25 tip.
Not planned: devops gh issues close-merged was removed by #743 (PR #1170). Issues are now closed by devops roadmap close, which reads every page of the merged pull requests, so the "newest n" limit this reports no longer exists.
priority/p2-mediumPriority P2: standard workscope/githubGitHub Projects v2, Views, Milestones, Labels, and PR automationtype/bugType bug: the code does not do what it must
Activity
dan-petty commentedon Oct 1, 2026
Placement (2026-10-01): stays in the backlog with no release slot. #743 (v0.2.26) replaces this code and names this item as superseded. Today it misses only issues numbered #326 or lower. Close this as not planned when #743 merges.
dan-petty commentedon Oct 2, 2026
Grooming (2026-10-02): Priority p1-high → p2-medium. The miss is reported, not silent. It affects only issues numbered #326 or lower, and nothing is lost: the issue just stays open.
Checked against the code at the release/v0.2.25 tip.
dan-petty commentedon Oct 4, 2026
Not planned:
devops gh issues close-mergedwas removed by #743 (PR #1170). Issues are now closed bydevops roadmap close, which reads every page of the merged pull requests, so the "newest n" limit this reports no longer exists.