-
Notifications
You must be signed in to change notification settings - Fork 29.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
doc: avoid merging other collaborator's PRs #6269
doc: avoid merging other collaborator's PRs #6269
Conversation
This has been implicit for a considerable amount of time.
When the author of a pull request is another Collaborator, in _most_ cases it | ||
should be left for them to merge. If the issue has gone stale, the Collaborator | ||
should first be asked if they are ok with it being merged, as sometimes that is | ||
not the case. Exceptions for this are frequently made for npm upgrades and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm patches almost always have a very clear either "good" or "oops broken" state
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Fishrock123 are CTCs able to merge the pull request of non-CTC collaborator?
I generally see no point in this. If any PR is ready to merge, then any collaborator should feel free to merge it. If it's not ready to merge, then label it as not being ready (using the |
Fwiw default is usually not being ready, and that pre-dates the current |
7da4fd4
to
c7066fb
Compare
@Fishrock123 did you close this because you feel that it is resolved, by agreeing on the label or otherwise? or just because it failed to gain traction? |
Apparently, we've implicitly decided that this is not the case. I still don't think it is a great choice. |
@Fishrock123 well … I think @imyller asked basically the specific question that this is trying to answer on IRC a few days ago, so whatever is “decided” should still be documented, because it definitely isn’t obvious for relatively new collaborators. I’m okay with reopening this, and I think I agree with its content (although I do feel that the |
In general, if a PR is sitting for a number of days, has sufficient LGTM's, green CI and is obvious that it's done, it should be good to go as far as anyone landing. Otherwise, if a particular contributor just doesn't want their PRs landed by anyone else, then something like the |
I'm not actually sure that is true though. There was a sizeable history previously where that wasn't the agreed-upon case. The onboarding documentation (previously?) stated this. |
e.g. when I was onboarded, that was what was communicated, and I also onboarded other people with that understanding. |
I'd like to suggest an alternative to instructing people to ask other Collaborators, as that can run into at least two problems:
Instead, I'd recommend something along these lines:
I'd be fine with something like that, but I'd much prefer a policy that leaves things to the judgment of the person wanting to land stuff, though. Like, trivial PRs don't require that sort of process. Large changes that alter a ton of C++ and JS code and require test changes...they require a comment like that. Something like this:
|
Two minor notes:
|
One solution to consider is the use of "Assignees" for a PR: I avoid taking a PR for landing prep that some other collaborator has already self-assigned; and likewise I've taken the habit of self-assigning any PR for myself when actively preparing it for landing. Could we agree on respecting such assigment by collaborators? Including the one from the PR author. If yes, then for those who don't want own PRs landed by others: just self-assign. |
Also, I'd like to add that using collaborator assignment as "who intends to land" control:
|
I think if you see a (non-controversial) PR with green CI and LGTMs it should be OK for anybody to merge it. Anything else just creates a lot of extra work (several people looking at the same issue over and over). I personally very much appreciate it, if my changes are merged. We have more than 250 open PRs. I think we should make it as easy as possible to keep this number small. |
I'll echo @fhinkel's comment. I'm happy if somebody else lands my PRs once they are ready to go an I've not had time to do it yet. |
c133999
to
83c7a88
Compare
Closing given the lack of further activity on this. |
Checklist
Affected core subsystem(s)
doc,meta
Description of change
refs: #6196 (comment)
This has been implicit for a considerable amount of time.
r=@nodejs/ctc