-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
doc: drop minimum waiting time as hard guideline #33879
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -11,6 +11,7 @@ | |||||||||
* [Code reviews](#code-reviews) | ||||||||||
* [Consensus seeking](#consensus-seeking) | ||||||||||
* [Waiting for approvals](#waiting-for-approvals) | ||||||||||
* [Reverting PRs shortly after landing](#reverting-prs-shortly-after-landing) | ||||||||||
* [Testing and CI](#testing-and-ci) | ||||||||||
* [Useful CI jobs](#useful-ci-jobs) | ||||||||||
* [Starting a CI job](#starting-a-ci-job) | ||||||||||
|
@@ -95,9 +96,8 @@ request must pass code review and CI before landing into the codebase. | |||||||||
|
||||||||||
### Code reviews | ||||||||||
|
||||||||||
At least two Collaborators must approve a pull request before the pull request | ||||||||||
lands. One Collaborator approval is enough if the pull request has been open | ||||||||||
for more than seven days. | ||||||||||
At least one Collaborator must approve a pull request before the pull request | ||||||||||
lands. Waiting for a second approval is recommended but not mandatory. | ||||||||||
|
||||||||||
Approving a pull request indicates that the Collaborator accepts responsibility | ||||||||||
for the change. | ||||||||||
|
@@ -150,30 +150,28 @@ adding the `tsc-agenda` label to the issue. | |||||||||
|
||||||||||
### Waiting for approvals | ||||||||||
|
||||||||||
Before landing pull requests, allow 48 hours for input from other Collaborators. | ||||||||||
Certain types of pull requests can be fast-tracked and can land after a shorter | ||||||||||
delay. For example: | ||||||||||
Before landing pull requests, allow for input from other Collaborators. | ||||||||||
|
||||||||||
If you expect that a pull request might raise objections, | ||||||||||
wait longer before landing. You can also add the `wait-for-feedback` label | ||||||||||
to pull requests; in that case, it is expected that the pull request will not | ||||||||||
be merged until at least 48 hours after it has been opened, in order to allow | ||||||||||
for everybody to comment on it. | ||||||||||
|
||||||||||
|
||||||||||
* Focused changes that affect only documentation and/or the test suite: | ||||||||||
* `code-and-learn` tasks often fall into this category. | ||||||||||
* `good-first-issue` pull requests might also be suitable. | ||||||||||
* Changes that fix regressions: | ||||||||||
* Regressions that break the workflow (red CI or broken compilation). | ||||||||||
* Regressions that happen right before a release, or reported soon after. | ||||||||||
For pull requests that are lacking an approval from a member of the relevant | ||||||||||
team (e.g. @nodejs/http in the case of HTTP changes), it is recommended to keep | ||||||||||
jasnell marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||
them open for a longer period of time, e.g. several days. | ||||||||||
|
||||||||||
To propose fast-tracking a pull request, apply the `fast-track` label. Then add | ||||||||||
a comment that Collaborators can upvote. | ||||||||||
### Reverting PRs shortly after landing | ||||||||||
|
||||||||||
If someone disagrees with the fast-tracking request, remove the label. Do not | ||||||||||
fast-track the pull request in that case. | ||||||||||
If it has been less than 48 hours after a pull request has been opened and it | ||||||||||
has already been landed, and you object to it in a way that cannot be addressed | ||||||||||
through a new pull request which addresses your concerns, you can open a | ||||||||||
pull request containing a revert and merge it without waiting for approvals or | ||||||||||
CI runs. | ||||||||||
|
pull request containing a revert and merge it without waiting for approvals or | |
CI runs. | |
[pull request containing a revert](#reverting-commits) and merge it without | |
waiting for approvals or CI runs. |
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.
We should also make sure ncu can recognize revert commits and consider those as valid (otherwise we won't be able to use the commit queue to land).
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,8 @@ More than one subsystem may be valid for any particular issue or pull request. | |
* `discuss`: Things that need larger discussion | ||
* `feature request`: Any issue that requests a new feature | ||
* `good first issue`: Issues suitable for newcomers to fix | ||
* `wait-for-feedback` - Keep this pull request open at least 48 hours before | ||
|
||
landing, to give others a chance to weigh in. | ||
* `meta`: Governance, policies, procedures, etc. | ||
* `tsc-agenda`: Open issues and pull requests with this label will be added to | ||
the Technical Steering Committee meeting agenda | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -130,10 +130,15 @@ onboarding session. | |||||
reviewers. If you are leaving comments about issues that could be identified | ||||||
by tools but are not, consider implementing the necessary tooling. | ||||||
* Minimum wait for comments time | ||||||
* There is a minimum waiting time which we try to respect for non-trivial | ||||||
changes so that people who may have important input in such a distributed | ||||||
project are able to respond. | ||||||
* For non-trivial changes, leave the pull request open for at least 48 hours. | ||||||
* Node.js is a distributed project, and it is important that other people | ||||||
have a chance to weigh in on changes that affect them. We do not enforce | ||||||
a fixed waiting time, and pull requests that can generally be expected | ||||||
|
a fixed waiting time, and pull requests that can generally be expected | |
a fixed waiting time. Pull requests that are expected |
Outdated
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.
not to be contentious can be merged as soon as they have approvals and a | |
to be uncontentious can be merged as soon as they have approvals and a |
Outdated
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.
* Label your pull request with the `doc`, `notable-change` labels. | |
* Label your pull request with the `doc` and `notable-change` labels. |
Uh oh!
There was an error while loading. Please reload this page.