GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — doc: require two approvals to land changes by Trott · Pull Request #22255 · nodejs/node Conversation
Member
First in a series that will hopefully streamline/simplify our policies. I don't want this to slip in unnoticed and it's a significant procedural change being proposed, so: @nodejs/collaborators Currently, changes require approval by one Collaborator in most cases. Additionally, although only one approval is strictly required, in Lastly, concerns have been raised about (perhaps unintentionally) gaming Refs: #19564 Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Trott
force-pushed
the
simplify-approval
branch
from
480ce68 to
2c99b1d
Compare
addaleax
approved these changes
ChALkeR
approved these changes
|
There was an error while loading. Please reload this page.
|
LGTM, though I am curious how many (and which exact) changes landed with only one collaborator review this year. That might give us some hints how would this affect the review time and what changes might become harder to land. I expect close to 0. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'm generally -1 on this as I don't see the change as being necessary. 1 approval should be enough if the change is relatively constrained and the list of people who have the necessary domain knowledge to adequately review is small. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Making it explicit
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@ChALkeR Here are all the ones since the start of July. d3d54aa That's 11 commits. For perspective, there were 352 commits in that time, so were talking about approximately 3.1% of commits. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
With well over 100 collaborators, this seems reasonable.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This may be a good opportunity to clarify that we mean at least two, and not exactly two.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Considering those numbers and the types of commits, I do not see this as needed.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Maybe we can make exceptions for certain subsystems? AFAICT crypto may need that. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
@jasnell The last time we reviewed changes that had only one approval, none of them fit that description. (Specifically: None of them were "There's nobody who can review this code because it requires specific domain knowledge.") I think preserving the one-approval rule for that reason is preserving it for a problem that we don't actually have. As I wrote at that time:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
@mcollina With only one exception (85b0f16), all of the commits seem like they could have obtained more reviews with just a little effort. I mean, look at f386c7e. Time to repeat the exercise from last time:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@joyeecheung Maybe, although that undermines the simplicity/consistency aspect. The only recent commit where reviews were actively sought and not obtained was a crypto one (85b0f16). On the other hand, that is the only crypto PR that has landed this year with only one review. And there have been a good number of crypto commits. So maybe it's not such a problem for crypto after all? Kind of interested in what @tniessen thinks, as he's the one that was trying to get reviews and only got one. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Trott... for me, there's no exercise to go through... this appears to be solving for a problem that doesn't exist. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
👍 👍
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
IMHO velocity on it's own is not a goal. Having more review should be a great tool to improve code quality, which should be of higher priority. I'd also like for us to put more emphasis on the other parts of that paragraph:
It seems to me that this will go to a vote. In that case we might want to consider expanding the scope of this change (longer review window, cap maximum of approvals, require /CC of "code owners") Ref: nodejs/CTC#144 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
This. 💯 If we can’t get enough reviewers, then we really should force ourselves to put effort into making more people familiar with the relevant code. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I agree with @joyeecheung tough that an exception could/should be made for crypto.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Having more reviewers per PR is a fantastic goal. Imposing additional process does not accomplish that, encouraging more folks to get involved does. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
One problem is that for some PRs in less glorious and well known parts of the code getting even one review is hard. Can we get an estimate of how many pull requests did not get a single review in 3 days? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Another issue is that people might not be as responsible when reviewing (e.g run the actual code and play with the changes) when reviewing if they think at least one other person is responsible. I think this has a name in psychology. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I’m going to +1 since I think more eyes is good - but I eventually would like us to work towards a better review process.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #23249 Refs: #22255 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Refs: nodejs#22255 PR-URL: nodejs#24561 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
Refs: #22255 PR-URL: #24561 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
Refs: #22255 PR-URL: #24561 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
One Collaborator approval is enough only if the pull request has been open for more than 7 days Refs: nodejs/node#22255
Refs: #22255 PR-URL: #24561 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
Refs: nodejs#22255 PR-URL: nodejs#24561 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
Refs: #22255 PR-URL: #24561 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
Refs: #22255 PR-URL: #24561 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
One Collaborator approval is enough only if the pull request has been open for more than 7 days Refs: nodejs/node#22255
One Collaborator approval is enough only if the pull request has been open for more than 7 days Refs: nodejs/node#22255
One Collaborator approval is enough only if the pull request has been open for more than 7 days Refs: nodejs/node#22255
One Collaborator approval is enough only if the pull request has been open for more than 7 days Refs: nodejs/node#22255
One Collaborator approval is enough only if the pull request has been open for more than 7 days Refs: nodejs/node#22255
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.