-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Policy for stale PRs #11583
Comments
A few random thoughts:
|
I'd like to at least make an attempt to contact the PR author when we consider a PR stale (a message tagging their handle is enough). I have often forgotten about work I started but didn't bring to completion, or didn't see it was blocked by a merge conflict. Less-so in typeshed nowadays, but putting myself in the shoes of an external contributor, I've done it on other projects. If we ever go the automation route, I have my concerns about autoclosing, as it can cause a lot of friction (especially if that system is ever brought over to issues). I have no problem automatically marking them as stale though. I'd also want to consider whether it's still being actively worked on, although I have no suggestion for a hard rule on this. Case in point, the currently oldest still open PR is one of mine I've been chipping away at for over a year: #9511 |
Yeah, autoclosing is a big no from me, but an automated reminder after two months of build failures or unaddressed reviews could be a useful reminder. |
Agreed that we definitely shouldn't automate closing stale PRs.
I worry that adding too many rules like this makes triaging harder, and makes it harder for us to cope with our PR backlog. Keeping typeshed maintainable is important; if it becomes unmaintainable, that's also a bad outcome for contributors. If a PR has failing CI and/or nontrivial merge conflicts, and hasn't seen any activity in >=3 months, I think it's fine to close the PR as long as we are extremely polite in the message we give, thank them for their time, and make it abundantly clear that we're happy to reopen the PR at a moment's notice if they're still interested in working on it |
Closes #11583 Co-authored-by: Alex Waygood <[email protected]> Co-authored-by: Akuli <[email protected]> Co-authored-by: Avasam <[email protected]>
We currently have 71 open PRs. That's not terrible (mypy and CPython have a lot more), but it's more than I'd like. Many of the PRs are not in a mergeable state, so it's hard to get the number down.
I'd like to propose a few policies to help keep the number under control:
If other maintainers agree, I can add these guidelines to our CONTRIBUTING documentation.
The text was updated successfully, but these errors were encountered: