ansibullbot icon indicating copy to clipboard operation
ansibullbot copied to clipboard

auto-close "rotten" issues per fejta-bot k8s example

Open jctanner opened this issue 5 years ago • 6 comments

https://github.com/kubernetes/minikube/issues/2527#issuecomment-404647040

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close
--

We should consider as a point of project governance that inactive issues aren't being worked.

jctanner avatar Sep 03 '18 00:09 jctanner

Interesting workflow. This seems to be closing any any issue older than 90 (or 120 days).

If anyone is working on a fix for the issue do we want to require/enforce:

  • they are assigned
  • a comment along the lines of "I'm working on this"?

@jctanner how did you imagine the workflow looking like?

gundalow avatar Sep 04 '18 05:09 gundalow

Ref: https://github.com/ansible/ansible/pull/58674 / https://github.com/dessant/lock-threads/issues/14

webknjaz avatar Jul 23 '19 13:07 webknjaz

they are assigned

FTR modern GitHub allows assigning issues to any users who commented them ever.

webknjaz avatar Jul 23 '19 13:07 webknjaz

@webknjaz, I think Stale is a better fit for this use case, Lock Threads operates on issues that were already closed.

dessant avatar Aug 14 '19 07:08 dessant

@dessant that's a different case but related. Originally I wanted to replace what @sivel's been doing manually.

webknjaz avatar Aug 14 '19 10:08 webknjaz

We discussed this at AnsibleFest Atlanta during the Community Summit. The in-room consensus was to use a model similar to K8s' bot, where:

  • After 30d with no activity, open feature request is marked 'stale'
  • After 90d with no activity, open feature request is closed

The bot would ideally also be able to interpret issue-related comments like close/notstale/etc. like https://github.com/kubernetes/test-infra/tree/master/prow#bots-home

geerlingguy avatar Sep 23 '19 18:09 geerlingguy