feat: enable assign reviewer for amazon q

What does this MR do and why?

This MR allows GitLab user with Duo Enterprise with Q or Duo with Amazon Q add-ons and Q enabled to assign review to the GitLabDuo bot, would then be processed by Amazon Q

References

Screenshots or screen recordings

Before After
before_q.png after_q.png

How to set up and validate locally

  1. Self-hosted GitLab instance
  2. Setup a licence with GitLab Duo Enterprise or GitLab Duo with Amazon Q add-on
  3. Connect to AIGW with MR 2985 integrated as that has dependent Amazon Q prompt
  4. Connect and onboard Amazon Q
  5. Create a project with some code (create project from template, java)
  6. Modify some code and create a MR (introduce some vulnerabilities, etc. in the code)
  7. Assign GitLabDuo bot as a reviewer via /assign_reviewer @GitLabBot
  8. After some time, GitLabBot will finish reviewing code and will post findings.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Dmytro Protsiv

Merge request reports

Loading