Hide rca button for passing jobs
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 |
---|---|
Failed jobs (should display)
How to set up and validate locally
- Setup AI https://docs.gitlab.com/ee/development/ai_features/
- Visit failed job
Related to #457988 (closed)
Edited by Payton Burdette