-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Use stale bot for commenting on stale issues/PRs in Node.js core repo #28798
Comments
+1 |
I still think it's a good idea. It's not as if the number of open issues has gone down since last time, quite to the contrary. |
@nodejs/tsc |
I do try to semi-routinely go through the issues backlog oldest-first. I very much dislike auto-closing old issues, personally. To me, the reality is that there are going to be a good chunk of unresolved things and, that's ok. At least it's a clear signal that any given issue there wasn't resolved and may be picked up. Also, all things considered, I think we still do a pretty good job for the size of project we are. |
Just to be clear, most of the comments quoted in the description are in favour of closing stale issues, not old issues. Stale would be issues with no activity. If a ping is published first to notify of upcoming auto-close, it should only take someone replying with "pls keep open" to make it unstale for some time (I'd assume it'd be a couple more months). If no one can be bothered to post a "please don't close this" into an issue every few months... then I'd call it a good candidate for closing. Closing doesn't mean it can't be reopened on request, or commented on, or searched, or anything really. Primarily, it cuts down the number of things that have to be looked at when the open issues are periodically sieved through by someone generous with their time. |
My cents would be:
Seems like stale bot should be able to be configured along those line. |
The default configuration for staleBot is given in their README Based on suggestions from @mhdawson:
|
Suggestion from @sam-github:
Their app states under point 2:
So any activity on issue/PR will unmark the issue as stale |
Suggestion from @Fishrock123:
|
@mhdawson stalebot does all of that. I would configure it so that an issue/pr become stale after 6 months, and get closed automatically after 1 year? This aligns it with our release cycle: essentially if it did not make it in 2 majors, then it likely won’t happen at all. |
The stale comment is just to notify subscribers that issue has been stale for a while (time of inactivity). Six months could be little long for that. |
Empirically, I'd say that > 50% of issues that have been dormant for a month, stay dormant. |
This comment has been minimized.
This comment has been minimized.
As described in comment probot/stale#224 (comment), it looks like stale bot will comment on issues without
How about these values?
The stale bot will comment on all issues without |
I've created a feature request with stale bot to not include staleLabel while getting stale issues at probot/stale#225 If this feature request is implemented, stale bot will continue commenting after |
If there's no more update, I'll post a PR over next couple of days for stale bot config with following values:
Values for other configurations can be discussed in the PR comments |
@trivikr do you know what will happen to existing issues after we enable it? |
@targos I recently created config for lock bot (a different bot), which has a config called I don't see any such config for staleBot (docs) |
Stale bot has a config called One way we could avoid this is to manually mark issues with EDIT(trivikr): typo still > till |
I think it would be better to not limit the bot to a certain date range. Maybe we can set the limitPerRun lower, but we definitely should go through all our issues. At 30/hr it will probably take between 10/20 hours, which sounds reasonable to me, but if that seems overwhelming we can lower it to like 5/hr. |
The problem with too many stale bot notifications in the beginning is that some subscribers might miss genuine notifications if they clear all of them. Also, they might raise complaints after getting too many notifications. The idea with
For example, we start with value
Instead of fixed values (like three months), we can also update Each config update can be merged when subscribers won't mind notifications (say weekend?) |
GitHub announced Actions Beta today, which has an action for posting warnings and closing stale issues and PRs
|
Are we moving forward with this? We're edging towards 800 open issues... (Remember when we had only 500 open issues? Good times.) |
Aside: Hilariously, I've been trying to keep the number of open PRs down below 300 and was successful for a while, but now it all feels so hopeless. If you have an open PR that is realistically never going to be finished, please do me a favor and close it! |
Summary of configs discussed in this issue:
The issue created with stalebot at probot/stale#227 hasn't receive any responses. I've created new issue at #29232 specific to writing a stale action, as the discussions in this issue were mainly related to stale bot |
We're over 900 open issues as of today. Can I suggest we move forward with either this issue or #29232? |
Does this need to remain open? |
Nope, we should go ahead with GitHub Actions discussed in #29232 instead. |
Is your feature request related to a problem? Please describe.
Comment by @bnoordhuis in #25209 (comment): we have a long (loooong) backlog of probably-stale issues that no one is looking at, with many where discussion has meandered so much that no one is really sure anymore what they're even about.
Describe the solution you'd like
Describe alternatives you've considered
Manually finding out stale issues and commenting on them, like @targos did in #25209 (comment) 😜
The text was updated successfully, but these errors were encountered: