Skip to content

[REQ] Add stale bot #10138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
falnyr opened this issue Aug 12, 2021 · 9 comments
Closed

[REQ] Add stale bot #10138

falnyr opened this issue Aug 12, 2021 · 9 comments

Comments

@falnyr
Copy link

falnyr commented Aug 12, 2021

Is your feature request related to a problem? Please describe.

There seems to be A LOT of issues that are recorded but not followed-up on in the project. Although it is good to keep track of them, they should really only be a concern if someone is actively facing the issue.

Describe the solution you'd like

I would like to add https://github.com/marketplace/stale stale bot to the OpenAPITools org. This way it will be much less noise on the repositories and it will be less daunting for newcomers to pick up an issue and start working on it. At the same time, if someone really needs a feature/bug fix - they will need to actively participate on a PR/Issue to prevent it from going stale.

Describe alternatives you've considered

There could be manual triaging but that's very time consuming.

Additional context

Stale is implemented by many open source organisations and it's free.

FYI: This is primarily for the authors to decide whether this is a good idea or not.
@jimschubert @grokify @lukoyanov @wing328 @jmini @tomplus @ackintosh @quen2404 @macjohnny @cbornet @yue9944882 @JFCote

@JFCote
Copy link
Member

JFCote commented Aug 12, 2021

@wing328 should be the one to take a decision but I agree that this project has way too much open issue and at least 50% are from very old version and not wanted anymore. I've read the description of the plugin and I agree it would help.

@falnyr Is it possible to add the plugin at the project level instead of the org level? There are other projects in the org that don't have the level of activity that OpenApi Generator have, like my own project OpenAPI Style Validator and I'm not sure it would be a very good match.

@falnyr
Copy link
Author

falnyr commented Aug 12, 2021

@JFCote The bot behaves like any other GitHub Application - you can enable it globally or per repository.
image

Edit: You also need to commit the configuration to the repository, so it shouldn't be a problem if it's installed globally.

After installing the integration, create .github/stale.yml in the default branch to enable it:

@falnyr
Copy link
Author

falnyr commented Aug 12, 2021

This is the default configuration, which in my opinion has reasonable settings:

# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
  - pinned
  - security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
  This issue has been automatically marked as stale because it has not had
  recent activity. It will be closed if no further activity occurs. Thank you
  for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

Let me know if you're happy with this and I'll submit a PR @wing328

@JFCote
Copy link
Member

JFCote commented Aug 13, 2021

@falnyr Well, that looks good to me but I'm not a core team member anymore so I will let other people decide :)

Maybe one thing I would change in your config is to change staleLabel to something like stale ? I think it should be a new label that real people doing triage won't use so we can see the difference between a human classification and a bot classification. But maybe that's not necessary too.

@falnyr
Copy link
Author

falnyr commented Sep 2, 2021

@wing328 Please can you make this a priority?

There are currently 2400+ Open Issues and 276 Pull Requests. I really suggest using some management automation before it becomes unmanageable.

E.g. #2845 (comment) Is just a summary of open issues for one thing. It's all getting lost in the noise.

@JFCote
Copy link
Member

JFCote commented Sep 2, 2021

@wing328 I agree with @falnyr .

@falnyr Did you take my previous comment in consideration for the new label?

@falnyr
Copy link
Author

falnyr commented Sep 2, 2021

@falnyr Did you take my previous comment in consideration for the new label?

Oh, yeah, sorry. The labelling is fully up to you, I just wanted to present the defaults from stalebot's documentation.

@falnyr
Copy link
Author

falnyr commented Sep 8, 2021

@wing328 Any chance you could look into this? 🙏

@falnyr
Copy link
Author

falnyr commented Sep 30, 2021

@wing328 Can we get some attention to this, please? This is one of many issues that is ignored due to the volume of currently open ones.

@mkusaka mkusaka mentioned this issue Apr 10, 2022
4 tasks
@falnyr falnyr closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants