Loading
Enable dap_session_restarts feature flag by default
What does this MR do and why?
Currently, retrying failed and cancelled Duo Agent Platform sessions is behind the dap_session_restarts feature flag, which is disabled by default. Following the discussion in the feedback issue, this MR enables the feature for everyone.
- Change the
dap_session_restartsfeature flag type fromgitlab_com_derisktobeta, sincegitlab_com_deriskflags can't be enabled by default - Enable
dap_session_restartsby default
References
- Comment proposing to enable the flag by default
- Related to [FF] `dap_session_restarts` -- Session Restart ... (#630993) • Roman Eisner, Allison Villa • 19.8
- Docs MR: Document retrying failed and cancelled agent se... (!275588 - merged) • 🤖 GitLab Bot 🤖, Allison Villa • 19.7
Screenshots or screen recordings
This MR only changes the feature flag. For screenshots of the feature, see the feature MRs:
- Add a Retry button to failed and stopped agent ... (!257412 - merged) • Allison Villa • 19.6
- Add Retry to failed and cancelled sessions in t... (!263742 - merged) • Allison Villa • 19.6
- Show a View retry link on retried sessions in t... (!268887 - merged) • Allison Villa • 19.6
- Show a disabled Retry button when the user cann... (!271902 - merged) • Allison Villa • 19.7
How to set up and validate locally
- Prerequisite: Have GitLab Duo set up in your GDK or Caproni
- Have a Duo-enabled group and project created by the Duo setup above
- Prerequisite: Have GitLab Runner working in your GDK or Caproni
- Make sure the
dap_session_restartsfeature flag has no value set on your instance, so it uses its default. - Start a session with an agent in your Duo-enabled project.
- Open the session at
/<project full path>/-/automate/agent-sessions/<session id>and select "Cancel session". - Check that the "Retry session" button shows on the cancelled session.
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 Allison Villa