Skip to content

Require experiment toggled for duo workflow

Halil Coban requested to merge duo-workflow-experiment into master

What does this MR do and why?

Allows Duo Workflow to be used only if experiment features are enabled. Experiment features are available to be enabled in the root level non-personal namespaces.

MR acceptance checklist

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

Screenshots or screen recordings

Experiment features enabled Experiment features disabled
Screenshot_2024-10-04_at_12.29.02 Screenshot_2024-10-03_at_13.50.38

How to set up and validate locally

  1. Follow the instructions to run a duo workflow
  2. Go to a root namespace edit page eg: http://gdk.test:3000/groups/flightjs/-/edit
  3. Under General -> Gitlab Duo Features, select Use experiment and beta Gitlab Duo Features checkbox Screenshot_2024-10-04_at_13.03.35
  4. In VsCode create a new workflow. It should be executed.
  5. Go back to namespace settings page and disable the same checkbox
  6. YIn VsCode create a new workflow. You should get an error.

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/468508

Edited by Halil Coban

Merge request reports

Loading