-
Notifications
You must be signed in to change notification settings - Fork 9
development process updates #82
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
ccece36
more guidelines for reviewing prs + reorg some sections
edublancas f89376e
adds responding-pr-review
edublancas 2a8c0ca
more edits
edublancas 492c394
adds example for testing exceptions
edublancas 34281d4
fix broken references
edublancas fccc92d
fix broken references
edublancas a689575
addressing comments
edublancas bad7035
typos + notes on testing
edublancas 27b1a75
note on editable mode
edublancas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Responding to PR reviews | ||
|
|
||
| Once you get a review, these are the guidelines to follow. | ||
|
|
||
| ## Address all observations | ||
|
|
||
| Address all review observations. That doesn't mean you should change your code on | ||
| all observations but you should respond to all of them with a informative comment so | ||
| the reviewer knows what you did (addressed the changes, have questions about their | ||
| observations, etc.) | ||
|
|
||
| ## **Do not** mark the conversations as resolved | ||
|
|
||
| The reviewer is responsible for making conversations as resolved. | ||
|
|
||
|  | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,51 @@ | ||
| # Reviewing PRs | ||
|
|
||
| ## Guidelines | ||
| ## The first review should be thorough | ||
|
|
||
| 1. The first review should be throughout, so upcoming reviews become smaller | ||
| 2. Avoid adding new requirements to existing PRs, the code should be evaluated based on the acceptance criteria | ||
| 3. Share concise but direct feedback: strike a good balance between a short yet understandable message | ||
| The first review should be the most detailed one, so upcoming reviews | ||
| become smaller and take less time. The only exception is when there's something | ||
| obviously broken (e.g., you ran some tests and the feature doesn't work as described in | ||
| the acceptance criteria). In such case, you can comment what the problem is and tell | ||
| the contributor to re-request your review once the problem is addressed. | ||
|
|
||
| ## Avoid adding new requirements to existing PRs | ||
|
|
||
| The code should be evaluated based on the acceptance criteria and new items should | ||
| not be added. However, if you test the PR and encounter that the implementation isn't | ||
| complete, it's fine to bring it up. The most common scenario is when the new feature | ||
| doesn't handle error correctly (e.g., unclear error messages), in such cases, you can | ||
| ask the contributor to tackle it. | ||
|
|
||
| ## Share concise but direct feedback | ||
|
|
||
| Strike a good balance between a short yet understandable message and detailed feedback. | ||
| Written communication is hard, so minimize the number of words while maximizing the | ||
| amount of information shared. | ||
|
|
||
| Avoid using *it* or *this* in your comments, as it leads to ambiguity. Example: | ||
|
|
||
| **Bad:** I noticed that it doesn't work if you pass `verbose=True` | ||
|
|
||
| **Good**: I noticed that the function `perform_operation` doesn't work if you pass `verbose=True` | ||
|
|
||
| ## You're responsible for resolving conversations | ||
|
|
||
| The reviewer is responsible for clicking on `Resolve conversation`. Contributors should address observations but it's up to the reviewer to mark them as resolved (as they're the ones that verify that their observations were effectively addressed). | ||
|
neelasha23 marked this conversation as resolved.
|
||
|
|
||
|  | ||
|
|
||
| Once you've addressed all the comments, request another review. | ||
|
|
||
| ```{note} | ||
| If you don't see the "Resolve conversation" button, tag `@edublancas` so he can fix GitHub permissions. | ||
| ``` | ||
|
|
||
| ## It's ok to dismiss incomplete PRs | ||
|
|
||
| If you receive a request for review but the PR is incomplete (e.g., the CI isn't passing) or there are obvious misses in the acceptance criteria, you can skip your review and check again the next day. It's the contributors responsibility to ensure their PRs are ready to review. | ||
|
|
||
| ## User-centric testing | ||
|
|
||
| When reviewing new features, we encourage you to follow a user-centric approach and test the feature yourself (as opposed to just looking at the code and tests). Testing the new feature can help you uncover edge cases that the author didn't consider. | ||
|
|
||
| For more information, see [](../maintainer/maintainer.md#quality-assurance). | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.