Skip to content

Set Experiments Checkbox to 'false' when 'never_on' is selected in Duo Availability

Lindsey Shelton requested to merge ban-ai-never-on-set-experiments into master

What does this MR do and why?

This MR covers the following Issue:

  • #480400 (closed) Follow-up from "Ban AI Duo Experiment Beta Features Checkbox"

In a recent MR, a discussion was had around how the experiment_features_enabled checkbox should behave when never_on is selected. It was decided to have this setting handled on the backend to ensure when never_on is checked, then experiment_features_enabled should also be set to false.

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-08-26_at_5.53.19_PM Screenshot_2024-08-26_at_5.56.22_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Group Settings - Experiment & Beta Settings

  1. Log into your GDK/Local Instance (Make sure you are in SAAS mode and on the Ultimate tier)
  2. Go to the top level Group Settings (that has the Ultimate license set): Group > Settings > General > GitLab Duo
  3. Check Use experiment and beta GitLab Duo features under GitLab experiment and beta features
  4. Click Save changes
  5. Validate that the checkbox is checked.
  6. Select Never on under Availability
  7. Click Save changes
  8. Validate that the checkbox is unchecked

Admin Settings - Experiment & Beta Settings

  1. Log into your GDK/Local Instance (Make sure you are in Standalone Mode or .com)
  2. Go to Admin Settings (that has the Ultimate license set): Admin > Settings > General > GitLab Duo
  3. Check Use experiment and beta GitLab Duo features under GitLab experiment and beta features
  4. Click Save changes
  5. Validate that the checkbox is checked.
  6. Select Never on under Availability
  7. Click Save changes
  8. Validate that the checkbox is unchecked
Edited by Lindsey Shelton

Merge request reports

Loading