-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Add review policy #19988
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
base: main
Are you sure you want to change the base?
Add review policy #19988
Conversation
Also see #19987 (comment) |
fb5985d
to
fbaf539
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted filessee 35 files with indirect coverage changes @@ Coverage Diff @@
## main #19988 +/- ##
==========================================
- Coverage 68.82% 68.16% -0.66%
==========================================
Files 424 424
Lines 35762 35762
==========================================
- Hits 24612 24378 -234
- Misses 9728 9950 +222
- Partials 1422 1434 +12 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
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.
Let's discuss in this PR. Which policy you disagree? |
Hi @fuweid @ivanvc @jmhbnz @serathius @siyuanfoundation let's focus on the policies proposed in this PR. It's based on current status. In future when we integrate K8s's auto merge utility, we can revisit & update this guide by then. Please share your thoughts, thx |
- Approvals should come from a maintainer, reviewer, or submodule owner familiar with the relevant code or area. | ||
- If there’s disagreement, maintainers should discuss and agree before merging. | ||
|
||
## Exceptions for Less Impactful PRs |
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.
From my perspective, exceptions make the process harder to follow. Sometimes, flaky test cases can make it even worse. We have several active reviewers and maintainers, so requiring two approvals seems reasonable to me.
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.
so requiring two approvals seems reasonable to me.
Yes, it's true.
exceptions make the process harder to follow.
That's the reason why I provide a list of examples below.
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.
exceptions make the process harder to follow.
For test, it's indeed sometime harder to follow, but let's provide some flexiblities. At least, it won't break the production code.
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.
Sometimes, flaky test cases can make it even worse.
Good point! Removed tests
from the list.
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.
fbaf539
to
bd3ddc6
Compare
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.
LGTM - Thanks @ahrtr
- The default rule of two approvals makes sense.
- An exception of single reviewer for trivial changes like minor doc tweaks makes sense.
- Completely agree we should not merge code that has not been reviewed.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, jmhbnz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR only needlessly split the discussion. |
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.
Thanks @ahrtr !! More clarity with the review process is better. As @jmhbnz mentioned moving it to existing triage_prs.md or https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#get-your-pull-request-reviewed sounds good.
bd3ddc6
to
2230691
Compare
Signed-off-by: Benjamin Wang <[email protected]>
2230691
to
c0132db
Compare
@ahrtr: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.
cc @fuweid @ivanvc @jmhbnz @serathius @siyuanfoundation @spzala