Add Duo agentic platform sidebar widget for Gitlab.com
What does this MR do and why?
Add Duo agentic platform sidebar widget for Gitlab.com
- add widget for paid, including trial
- see https://gitlab.com/gitlab-org/gitlab/-/issues/565473
Screenshots or screen recordings
Note The feature preview text and button is changing as part of Adjust duo agent platform widget feature previe... (!204262 - merged), so the below could get out of date for that.
Screen_Recording_2025-09-08_at_3.31.00_PM
How to set up and validate locally
Note Covered by ee/spec/features/gitlab_subscriptions/duo/agent_platform_widget_in_sidebar_spec.rb and unit specs
- Setup gdk to simulate SaaS - https://docs.gitlab.com/ee/development/ee_features.html#simulate-a-saas-instance and restart GDK
- set instance duo default availability in rails console:
::Gitlab::CurrentSettings.update!(duo_availability: 'default_on') - In rails console, enable the feature flag.
::Feature.enable(:duo_agent_platform_widget_gitlab_com) - Create a top level group
- In the gitlab admin UI, edit the group to be on an ultimate subscription.
- Visit the group overview page for that group.
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 #563874
Edited by Doug Stull