Skip to content

Hide rca button for passing jobs

Payton Burdette requested to merge 457988-hide-rca-for-passed-jobs into master

What does this MR do and why?

RCA button was showing for passed jobs, which makes no sense (since we don't need an RCA on a passed job). This MR only shows the button for failed jobs where the AI prompt can correctly analyze failed jobs.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-05-10_at_10.45.19_AM Screenshot_2024-05-10_at_10.56.27_AM

Failed jobs (should display)

Screenshot_2024-05-10_at_10.56.36_AM

Screenshot_2024-05-10_at_10.56.42_AM

How to set up and validate locally

  1. Setup AI https://docs.gitlab.com/ee/development/ai_features/
  2. Visit failed job

Related to #457988 (closed)

Edited by Payton Burdette

Merge request reports