Have RCA button initiate Duo chat with pre-seeded RCA chat message

  1. The user clicks on the Root Cause Analysis button from the Job logs page
  2. The Duo Chat window opens up and a message "Generating RCA from pipeline logs..." is displayed
  3. The request is routed such that the RCA results are displayed in Duo Chat

Technical proposal

  1. Open global duo chat once clicking rca button helpCenterState.showTanukiBotChatDrawer = true;
  2. TBD -- the backend needs to setup someway for client apps throughout the product to send prompts/information to duo chat. Once this is in place we can make an API call of sorts to link to duo chat
{
  "question": "/rca",
  "resourceId": "gid://gitlab/Ci::Build/352",
}
  1. Ensure the old version is rendered when root_cause_analysis_duo is false. Flag definition:
    - Feature flag:
ee/config/feature_flags/wip/root_cause_analysis_duo.yml  0 → 100644
name: root_cause_analysis_duo
feature_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/441681
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154040
rollout_issue_url: 
milestone: '17.1'
group: group::pipeline execution
type: wip
default_enabled: false
Edited by Allison Browne