[FF] Rollout duo_session_chat_bubbles

Summary

This issue is to roll out the feature on production, that is currently behind the duo_session_chat_bubbles feature flag.

Owners

  • Most appropriate Slack channel to reach out to: #g_agent_foundations
  • Best individual to reach out to: @afontaine

Expectations

What are we expecting to happen?

When enabled, the Duo Agents Platform session show page renders activity log messages using DuoChatConversation chat bubbles from @gitlab/duo-ui instead of the timeline-style ActivityLogs/LogEntry components. This provides visual consistency with the Duo Chat panel.

What can go wrong and how would we detect it?

The session show page could fail to render messages correctly. This would be visible by navigating to any agent session page (Project → Automate → Sessions → select a session). Since this is an ops flag gated to the session show page only, there is no risk of data loss or availability impact. The flag can be immediately disabled to restore the existing timeline rendering.

Rollout Steps

Note: Please make sure to run the chatops commands in the Slack channel that gets impacted by the command.

Rollout on non-production environments

  • Enable the feature globally on non-production environments with /chatops gitlab run feature set duo_session_chat_bubbles true --dev --pre --staging --staging-ref
  • Verify that the feature works as expected on staging by viewing agent sessions.

Before production rollout

  • Ensure the MR has been deployed to production.

Specific rollout on production

  • Enable for gitlab-org group: /chatops gitlab run feature set --group=gitlab-org duo_session_chat_bubbles true
  • Monitor for errors on the session show page.
  • Enable globally: /chatops gitlab run feature set duo_session_chat_bubbles true
  • Verify the session show page renders chat bubbles correctly.

Cleanup

  • Remove the duo_session_chat_bubbles feature flag and conditional rendering code.
  • Remove the feature flag YAML definition.