Add tracking to root cause analysis button

What does this MR do and why?

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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.

Screenshot_2025-01-07_at_15.29.03 Screenshot_2025-01-07_at_15.29.14

How to set up and validate locally

Patch
diff --git a/app/assets/javascripts/ci/common/pipelines_table.vue b/app/assets/javascripts/ci/common/pipelines_table.vue
index 1cf22c0b258a..d74c7863f81b 100644
--- a/app/assets/javascripts/ci/common/pipelines_table.vue
+++ b/app/assets/javascripts/ci/common/pipelines_table.vue
@@ -51,7 +51,7 @@ export default {
   mixins: [Tracking.mixin()],
   inject: {
     useFailedJobsWidget: {
-      default: false,
+      default: true,
     },
   },
   props: {
diff --git a/ee/app/assets/javascripts/ci/job_details/components/root_cause_analysis_button.vue b/ee/app/assets/javascripts/ci/job_details/components/root_cause_analysis_button.vue
index dd34a31c1222..e510d6808608 100644
--- a/ee/app/assets/javascripts/ci/job_details/components/root_cause_analysis_button.vue
+++ b/ee/app/assets/javascripts/ci/job_details/components/root_cause_analysis_button.vue
@@ -45,6 +45,7 @@ export default {
       return failedGroups.includes(this.jobStatusGroup);
     },
     shouldDisplayButton() {
+      return true;
       return this.jobFailed && this.canTroubleshootJob && this.isBuild;
     },
   },

507261.patch

Tracking

category action
projects:pipelines:index render_root_cause_analysis
projects:pipelines:index click_root_cause_analysis
projects:jobs:show render_root_cause_analysis
projects:jobs:show click_root_cause_analysis

Related to #507261 (closed)

Edited by Serhii Yarynovskyi

Merge request reports

Loading