Skip to content

Composite Identity onboarding and offboarding flow

What does this MR do and why?

This change adds a new GitLab Duo Workflow settings component to the GitLab Duo admin interface. The component allows administrators to enable or disable the Workflow feature, which is described as an "AI-powered coding agent in Visual Studio Code." When enabled, the system creates a service account to support the feature. The UI includes toggle buttons, confirmation modals for disabling the feature, and success/error notifications. The code also updates the GitLab Duo home page to conditionally display either the standard usage interface or the new Workflow settings based on whether the instance is SaaS or self-hosted. Various controller and helper methods were modified to support these new features, including changes to navigation, permissions, and data handling.

References

Screenshots or screen recordings

Schermopname_2025-04-03_om_20.28.14

Before After

How to set up and validate locally

If MR !187300 (merged) hasn't been merged you need to cherry pick the changes from that MR or rebase on it.

  1. Run GDK in SaaS
  2. Open http://127.0.0.1:3000/admin
  3. Verify "GitLab Duo" is in the menu and select it
  4. Select "Turn on GitLab Duo Workflow" and verify there were no errors and Workflow is now on
  5. Select "Turn off GitLab Duo Workflow" and verify there were no errors and Workflow is now off

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 #514388 (closed)

Edited by Fred de Gier

Merge request reports

Loading