Require a Duo review before requesting a human reviewer

What does this MR do and why?

Closes #627 (closed)

Contributors request a review from GitLab Duo first, and can only request a human review once Duo has finished.

The review request form on /manage-merge-request now depends on where Duo is:

  1. Duo has not been requested: the form is replaced by a button and a short explanation offering only Duo review.
  2. Duo has been requested but has not finished: the form is replaced by a message. If Duo never finishes, the contributor can still ask a reviewer through Help, which is the failsafe.
  3. Duo has finished: same behavior as before, plus the skip: when the MR already has reviewers, the suggested reviewer is no longer offered. Only the current reviewers and Duo are listed.

It also changes two things:

  • The missing reviewer error only shows after a submit attempt, instead of on load when the MR already has reviewers.

    image.png

  • When only Duo is requested, the comment no longer greets a reviewer or lists the reviewer checklist, and it asks the contributor to come back for a human review.

    Before After

    Hey @zidanesalim, thanks for requesting a review!

    Please review all feedback from @GitLabDuo: apply the suggestions you're confident about, and leave a note on any you are unsure or disagree with. Then, request a review from the suggested reviewer.

    Hey 👋

    • Do you have capacity and domain expertise to review this? If not, find one or more reviewers and assign to them.
    • If you've reviewed it, add the workflowin dev label if these changes need more work before the next review.
    • Please ensure the group's Product Manager has validated the linked issue.

    Posted via contributors.gitlab.com.

    Hey @zidanesalim, thanks for requesting a review!

    Please review all feedback from @GitLabDuo: apply the suggestions you're confident about, and leave a note on any you are unsure or disagree with. Then, come back to the merge request management page to request a human review.

    Posted via contributors.gitlab.com.

Screenshots or screen recordings

State Screenshot
Duo not requested image.png
Duo requested, not finished yet image.png
Duo finished, no other reviewers Capture d'écran 2026-10-30 164747.png
Duo finished, reviewers already assigned image.png

/cc @leetickett-gitlab

Edited by Salim Zidane

Merge request reports

Loading
Loading