Relocate GitLab Duo Self-Hosted Pages to Main Duo Settings Page
What does this MR do and why?
As part of efforts to unify AI settings UX, the GitLab Duo Self-Hosted pages are being relocated to link out from the main Duo settings page (/admin/gitlab_duo) and the current stand-alone menu item in the admin menu is to be removed.
Out of scope:
- Routing updates are to be tackled in a follow up piece of work
References
Screenshots or screen recordings
GitLab Duo settings page & admin menu
| Before | After |
|---|---|
![]() |
![]() |
GitLab Duo Self-hosted breadcrumbs
| Before | After |
|---|---|
![]() |
![]() |
Screen Recording
How to set up and validate locally
Pre-requisites
- You will need an active Ultimate online cloud license.
- Make sure you are set up with a Duo Enterprise subscription by running the following command in the terminal:
GITLAB_SIMULATE_SAAS=0 bundle exec 'rake gitlab:duo:setup[duo_enterprise]'
- Start GDK in self-managed mode (
GITLAB_SIMULATE_SAAS=0 gdk start) - Navigate to
http://gdk.test:3000/rails/features/and enable theai_duo_chat_sub_features_settingsfeature flag - Visit Admin Area > GitLab Duo
- Find the "Configure AI Features" info card and click the "Configure Self-hosted models" button. This should navigate to the GitLab Duo Self-Hosted pages. Validate the pages are all working as expected and that there is a
GitLab Duobreadcrumb which leads back to the Duo settings page.
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.
Related to #524053 (closed)
Edited by Julie Huang



