Fix: adjust agent sessions search tokens for prod values
What does this MR do and why?
Updating to use search tokens used in Prod:
- code_review/v1
- fix_pipeline/v1
- issue_to_merge_request
References
Related Issue: #576078 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
|
|
How to set up and validate locally
To Test in Duo Side Rail
- Turn on the following feature flags:
duo_workflow,duo_workflow_in_ci,ai_flow_triggersandduo_side_rail. - Make sure you are NOT in the new UI
- Open Duo Chat and open the Sessions tab (the two overlapping squares icon).
- Test search queries (see below for test cases)
- If you see no Sessions then run the following query
bundle exec rake "gitlab:duo_workflow:populate[50,20,1,<<YOUR_TEST_GROUP_PATH_HERE>>]"to create new agent sessions. Refresh the page.
To Test in Agent Sessions page
- Navigate to a project with that has AI features enabled.
- In the left side panel, you will see
Automatewith a tanuki icon. SelectSessionsfrom the dropdown. - Test search queries (see below for test cases)
To Test in new UI Side Panel
- To test this locally, make sure you have the following FFs enabled:
paneled_view,global_topbar,tailwind_container_queriesAfter you can toggleNew UIon in user's setting under the user's profile dropdown - Open the side panel and open Sessions.
- Test search queries (see below for test cases)
Filter/Sort Testing Steps
Filtering
- Select
Flowand use one of the selected values. - Press
Enteror click the search icon. - Validate filter works as expected.
- If your term was not found, an empty result view should display. You can reset by refreshing the page or clicking the search icon again.
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 #576078 (closed)
Edited by Lindsey Shelton

