Skip to content

ci(stale): exempt milestoned issues, stop auto-closing issues - #183

Merged
zeevdr merged 2 commits into
mainfrom
fix/stale-bot-milestone-exempt
Jul 20, 2026
Merged

ci(stale): exempt milestoned issues, stop auto-closing issues#183
zeevdr merged 2 commits into
mainfrom
fix/stale-bot-milestone-exempt

Conversation

@zeevdr

@zeevdr zeevdr commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary

  • The daily stale sweep closed 20 issues as not_planned on 2026-07-12 across decree, decree-ui, and demos — including every item in the ROADMAP "Planned" row and all six milestoned demos issues.
  • The affected milestones now read 100% complete, but only because the bot closed the remainder. The work did not ship.
  • On this project the issue tracker doubles as the roadmap, so the sweep should surface staleness without acting on it. Issues are now marked but never auto-closed, and any milestoned issue is exempt outright.
  • Pull requests keep the existing 30/7 auto-close, since a stale PR is genuinely abandoned work in a way a parked issue is not.

Test plan

  • Workflow parses as valid YAML
  • Parsed config confirms days-before-issue-close: -1 and exempt-all-issue-milestones: true
  • PR sweep values unchanged (30-day stale, 7-day close)
  • Dead config removed (close-issue-message, close-issue-reason) now that issues never close
  • Verify the next scheduled run marks stale without closing

Refs opendecree/decree#1028

The daily sweep closed 20 issues as not_planned on 2026-07-12, including
the entire "Planned" row of ROADMAP.md and every milestoned demos issue.
The affected milestones then read 100% complete because the bot closed
the remainder, not because the work shipped.

Issues are the roadmap on this project, so the sweep now marks staleness
without acting on it: days-before-issue-close is -1, and any milestoned
issue is exempt outright. Pull requests keep the existing 30/7 auto-close,
since a stale PR is genuinely abandoned work.

Drops close-issue-message and close-issue-reason, which become dead
config once issues never close.

Refs opendecree/decree#1028

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@zeevdr
zeevdr merged commit 793f6b9 into main Jul 20, 2026
13 checks passed
@zeevdr
zeevdr deleted the fix/stale-bot-milestone-exempt branch July 20, 2026 10:57
@github-project-automation github-project-automation Bot moved this from Todo to Done in OpenDecree Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant