docs icon indicating copy to clipboard operation
docs copied to clipboard

CI: prevent stale-bot from closing "help-wanted" tickets (or tickets attached to projects)

Open thaJeztah opened this issue 1 year ago • 11 comments

Is this a docs issue?

  • [X] My issue is about the documentation content or website

Type of issue

Other

Description

The stale-bot automatically closes tickets after there's been no activity for some time. Some of these tickets were "acknowledged" (valid), but not yet being worked on.

While it's good to periodically clean up stale issues, we should also prevent tickets from being closed prematurely; (IMO) it's ok to have a backlog of tickets to work on; not all may have "top" priority, but having tickets to track things to improve is useful.

Location

  • https://github.com/docker/docs/issues/5798

Suggestion

We should prevent tickets from being closed automatically if;

  • a "help-wanted" label is set; these are tickets that may be "lower" priority, but could be "good first issues" for contributors
  • a project is set (these may not be publicly visible, but we have some internal GitHub projects keeping backlogs for teams, such as "runtime-team" and "build-team"

thaJeztah avatar Jan 06 '24 11:01 thaJeztah

/cc @dvdksn @crazy-max @mat007 (maybe one of you knows where / how this is configured; this may not be a regular GitHub action; wondering if the stale-bot has a per-repository config file that can be used for filtering?)

thaJeztah avatar Jan 06 '24 11:01 thaJeztah

Yes, we can do that. I’ll create a ticket!

mat007 avatar Jan 26 '24 13:01 mat007

thanks @mat007 and @thaJeztah

dvdksn avatar Jan 26 '24 13:01 dvdksn

Thank you! ❤️

thaJeztah avatar Jan 26 '24 13:01 thaJeztah

This has been changed and deployed now. Do we want to remove the lifecycle/frozen label from e.g. #3282 to test it?

mat007 avatar Feb 13 '24 06:02 mat007

thanks @mat007! I removed lifecycle/frozen on #3282, let's see if it works :-)

dvdksn avatar Feb 13 '24 08:02 dvdksn

I think it looks good, right?

mat007 avatar Feb 16 '24 10:02 mat007

Yeah, I'm not sure it the auto-close kicks in only 30 days from when the label was removed, but if it turns out there's something amiss we can reopen this issue :)

thanks again @mat007

dvdksn avatar Feb 16 '24 10:02 dvdksn

Yeah, I'm not sure it the auto-close kicks in only 30 days from when the label was removed

Ah that’s a good point, I never know if removing a label updates the issue or not. It probably does, indeed 😬

mat007 avatar Feb 16 '24 11:02 mat007

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

docker-robot[bot] avatar Apr 28 '24 03:04 docker-robot[bot]

I reopened this issue because I noticed that stale-bot just added the stale label to #3282.

dvdksn avatar May 13 '24 06:05 dvdksn