Fix: Update duo issue to mr with status check
What does this MR do and why?
This MR hides the Generate MR with Duo button when the status checks fail.
References
Related GitLab Issue: #558237 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
| Screen Recording FFs |
|---|
| Screen_Recording_2025-08-11_at_2.38.53_PM |
| Screen Recording Settings |
|---|
| Screen_Recording_2025-08-11_at_2.45.23_PM |
How to set up and validate locally
Local Setup
- Enable
duo_workflowandduo_workflow_in_ciFF. You may go to: http://gdk.test:3000/rails/features/ to enable. (Note: There may be some lag after enabling/disabling the FFs if something doesn't show/hide right away).
Testing FFs
- Go to a project that has
Duo Agent Platformenabled (Go to Admin > GitLab Duo to enable). - Go to your Project > Issues.
- Select and Issue and validate that Generate MR with Duo button appears.
- In your rails console or with the
rails/featureslink above, disable theduo_workflow_in_ciFF. - Validate the Generate MR with Duo button does not appear. Re-enable the
duo_workflow_in_ciFF. - In your rails console or with the
rails/featureslink above, disable theduo_workflowFF. - Validate the Generate MR with Duo button does not appear. Re-enable the
duo_workflowFF.
Testing Settings
- Go to a project that has
Duo Agent Platform. - Go to your project settings (Settings > General) and go to GitLab Duo and disable.
- Go to your Project > Issues.
- Select and Issue and validate that Generate MR with Duo button doesn't appear.
- Go back to your Project Settings (as noted above), and re-enable GitLab Duo.
- Go to your GitLab Duo Settings (In SaaS, go to the top-level group > Settings > GitLab Duo. In SM, go to Admin > GitLab Duo) and select Change configuration. Unselect Feature preview and click Save changes.
-
- Go to your Project > Issues.
- Select and Issue and validate that Generate MR with Duo button doesn't appear.
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 #558237 (closed)
Edited by Lindsey Shelton

