Prepare the review request for a second caller

What does this MR do and why?

Gets the review request ready for a second caller, the endpoint triage-ops will call for a bare @gitlab-bot ready (next MR in the stack). Nothing changes in production, the page posts the same note and the picker answers the same.

  • The note the request review action posts moves unchanged into a small builder, so the endpoint can render the same text. The builder spec pins the full text with and without Duo.
  • The picker takes a list of usernames to exclude instead of one, and reads the GitLab host from a new GITLAB_BASE_URL setting instead of a hardcoded gitlab.com, so it also resolves GDK projects in the Dev Container. The REST and GraphQL defaults derive from the same setting, gitlab.com as before.

The note follows the Duo first structure that just merged, the builder spec pins the three variants. The other gitlab.com roots in the models and the leaderboard query can move in a follow up.

#950 (closed)

Screenshots or screen recordings

Nothing visible changes.

Validation steps

  1. The manage merge request controller spec passes unchanged apart from the picker keyword.
  2. Requesting a review on the manage merge request page posts the same note as before.
Edited by Sina Abadi

Merge request reports

Loading
Loading