|
| 1 | +Some notes on how we do reviews |
| 2 | +=============================== |
| 3 | + |
| 4 | +The Synapse team works off a shared review queue -- any new pull requests for |
| 5 | +Synapse (or related projects) has a review requested from the entire team. Team |
| 6 | +members should process this queue using the following rules: |
| 7 | + |
| 8 | +* Any high urgency pull requests (e.g. fixes for broken continuous integration |
| 9 | + or fixes for release blockers); |
| 10 | +* Follow-up reviews for pull requests which have previously received reviews; |
| 11 | +* Any remaining pull requests. |
| 12 | + |
| 13 | +For the latter two categories above, older pull requests should be prioritised. |
| 14 | + |
| 15 | +It is explicit that there is no priority given to pull requests from the team |
| 16 | +(vs from the community). If a pull request requires a quick turn around, please |
| 17 | +explicitly communicate this via [#synapse-dev:matrix.org](https://matrix.to/#/#synapse-dev:matrix.org) |
| 18 | +or as a comment on the pull request. |
| 19 | + |
| 20 | +Once an initial review has been completed and the author has made additional changes, |
| 21 | +follow-up reviews should go back to the same reviewer. This helps build a shared |
| 22 | +context and conversation between author and reviewer. |
| 23 | + |
| 24 | +As a team we aim to keep the number of inflight pull requests to a minimum to ensure |
| 25 | +that ongoing work is finished before starting new work. |
| 26 | + |
| 27 | +Performing a review |
| 28 | +------------------- |
| 29 | + |
| 30 | +To communicate to the rest of the team the status of each pull request, team |
| 31 | +members should do the following: |
| 32 | + |
| 33 | +* Assign themselves to the pull request (they should be left assigned to the |
| 34 | + pull request until it is merged, closed, or are no longer the reviewer); |
| 35 | +* Review the pull request by leaving comments, questions, and suggestions; |
| 36 | +* Mark the pull request appropriately (as needing changes or accepted). |
| 37 | + |
| 38 | +If you are unsure about a particular part of the pull request (or are not confident |
| 39 | +in your understanding of part of the code) then ask questions or request review |
| 40 | +from the team again. When requesting review from the team be sure to leave a comment |
| 41 | +with the rationale on why you're putting it back in the queue. |
0 commit comments