diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-28 12:08:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-28 12:08:05 +0300 |
commit | 0ba52d8e778430ccb4856eec31ed4f8581c204c3 (patch) | |
tree | 08f1236ae0431aec75ef5f211809792d55ed6266 /doc/development/code_review.md | |
parent | 41c9fff024a72e6581e71c2ae080bdcb961a5601 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/code_review.md')
-rw-r--r-- | doc/development/code_review.md | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/doc/development/code_review.md b/doc/development/code_review.md index 326ac7b3a37..c21b9912e8f 100644 --- a/doc/development/code_review.md +++ b/doc/development/code_review.md @@ -259,24 +259,28 @@ Developers who have capacity can regularly check the list of [merge requests to Since [unblocking others is always a top priority](https://about.gitlab.com/handbook/values/#global-optimization), reviewers are expected to review assigned merge requests in a timely manner, even when this may negatively impact their other tasks and priorities. + Doing so allows everyone involved in the merge request to iterate faster as the -context is fresh in memory, improves contributors' experiences significantly. +context is fresh in memory, and improves contributors' experience significantly. + +#### Review-response SLO -A turnaround time of two working days is usually acceptable, since engineers -will typically have other things to work on while they're waiting for review, -but don't hesitate to ask the author if it's unclear what time frame would be -acceptable, how urgent the review is, or how significant the blockage. +To ensure swift feedback to ready-to-review code, we maintain a `Review-response` Service-level Objective (SLO). The SLO is defined as: -If you don't think you'll be able to review a merge request within a reasonable +> - review-response SLO = (time when first review response is provided) - (time MR is assigned to reviewer) < 2 business days + +If you don't think you'll be able to review a merge request within the `Review-response` SLO time frame, let the author know as soon as possible and try to help them find another reviewer or maintainer who will be able to, so that they can be unblocked -and get on with their work quickly. Of course, if you are out of office and have +and get on with their work quickly. + +Of course, if you are out of office and have [communicated](https://about.gitlab.com/handbook/paid-time-off/#communicating-your-time-off) this through your GitLab.com Status, authors are expected to realize this and find a different reviewer themselves. -When a merge request author feels like they have been blocked for longer than -is reasonable, they are free to remind the reviewer through Slack or assign +When a merge request author has been blocked for longer than +the `Review-response` SLO, they are free to remind the reviewer through Slack or assign another reviewer. ### Reviewing code |