SDLC Context Agent - Add project-level setting (frontend)

What does this MR do and why?

We're adding the project-level toggle for Vulnerability Context Analysis. The backend logic of this setting lives in:

References

Screenshots or screen recordings

Before After
Screenshot_2026-08-13_at_15.39.22

How to set up and validate locally

Set up
  1. Ensure your GDK instance has an active EE Ultimate license with GitLab Duo enabled
  2. Checkout on duo/feature/611376-duo-vulnerability-context-analysis-project-setting and pull the changes from this branch.
  3. Run migrations: bundle exec rails db:migrate
  4. Checkout this branch CK-SLDC-Setting-Project-FE-v2
  5. Run gdk restart
Validate the UI toggle
  1. Navigate to a project's Settings > General > GitLab Duo
  2. Verify the Turn on Vulnerability Context Analysis toggle appears.
  3. Toggle it on and click Save changes. Verify that the page reloads with the toggle still on.
  4. Toggle off the main Turn on GitLab Duo features toggle and save. Verify the Turn on Vulnerability Context Analysis toggle becomes disabled.

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 Charlie Kroon

Merge request reports

Loading
Loading