Loading
Feat: Update Session Header with Overview (Project View)
What does this MR do and why?
This MR adds the Overview details to the project header for Sessions. These include:
- Adds status badge
- Adds Updated timestamp (when a session is
Finished,Failed, orStopped) - Adds Started by timestamp
- Adds Triggered User
- Removes Triggered User from existing information view
- Removes Status badge from existing information view
This change DOES NOT:
- Handle timestamp refinement. What is currently in place is moving what already exists. We will enhance this format in a future MR.
References
Related GitLab Work Items: https://gitlab.com/gitlab-org/gitlab/-/work_items/618767 (Child), #609573 (closed) (Parent)
Screenshots or screen recordings
| Before | After (Running/Created) | After (Stopped) | After (Complete) | Status Removal in existing information view |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
For DAP/General Setup
- General DAP: https://docs.gitlab.com/development/duo_agent_platform/
- Assigning Duo to a group: https://docs.gitlab.com/development/ai_features/#run-gitlabduosetup-script
- Make sure you are in
SaaSmode withexport GITLAB_SIMULATE_SAAS=1set in yourenv.runitfile in your local gdk. - Turn on the following feature flags (if necessary):
duo_workflow,duo_workflow_in_ci,ai_flow_triggers.
Adding Sessions
- A: If you see no Sessions, you can trigger one that displays a Pipeline/Job by going to an Issue within your Duo enabled project and clicking the
Generate MR with Duobutton. It should trigger a new session that you can open up. - B: You can also 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. Make sure the group you are testing in has Duo assigned (see DAP setup above).
Test Session Details (The Actual Testing)
- Make sure you are in a Duo enabled projects where Sessions permissions have been set.
Test Details Header
- Go to the AI > Sessions on the left rail.
- Click any Session or trigger a new one.
- View the Session Details Header changes (see notes in changes above and listed Work Items for Screens)
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 #618766 (closed)
Edited by Lindsey Shelton




