Skip to content
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

meta: re-enable PR stalebot #55032

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

avivkeller
Copy link
Member

@avivkeller avivkeller commented Sep 20, 2024

I propose that this stalebot be re-enabled, as there are hundreds(?) of stale PRs that are over a year old that could benefit from being closed.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/actions

@nodejs-github-bot nodejs-github-bot added the meta Issues and PRs related to the general management of the project. label Sep 20, 2024
@avivkeller avivkeller added the review wanted PRs that need reviews. label Oct 8, 2024
@RafaelGSS
Copy link
Member

I'm concerned that this will cause a lot of activity in our GitHub notification box and lead to important PRs being overlooked.

@avivkeller
Copy link
Member Author

avivkeller commented Oct 8, 2024

I'm concerned that this will cause a lot of activity in our GitHub notification box and lead to important PRs being overlooked.

While that was a concern with this in the past, @mhdawson addressed (AFAICT) by having this only apply to PRs older than a year. I'm happy to adjust that date, but I do think that a stalebot (in any form) is a good thing.

If one year is two soon, we can always start at an arbitrary value (say 3 years or something), and gradually lower the threshold to reduce noise.

@RafaelGSS
Copy link
Member

Which value do you think this would bring in case of PRs?

I can see the value for issues, as they are normally a source of state-of-art of a project, but pull requests don't seem to influence anything at all.

@avivkeller
Copy link
Member Author

avivkeller commented Oct 8, 2024

Which value do you think this would bring in case of PRs?

Implementing a PR stalebot can help prevent accidental "cookie-licking" (https://devblogs.microsoft.com/oldnewthing/20091201-00/?p=15843). By automatically closing outdated and inactive PRs, it creates an opportunity for new or existing contributors to take on the work themselves, rather than waiting for an old, stale PR to be merged.

I can see the value for issues, as they are normally a source of state-of-art of a project, but pull requests don't seem to influence anything at all.

#54672

@avivkeller
Copy link
Member Author

avivkeller commented Oct 13, 2024

I can also, along with the above, lower the op count to ~30 (which is like 5-10 prs, if that), which will only close a few PRs for notification management. It can be increased as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Issues and PRs related to the general management of the project. review wanted PRs that need reviews.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants