Skip to content

[Backend MVP] Root-cause analysis of failing pipeline job

Allison Browne requested to merge ab-root-cause into master

What does this MR do and why?

Adds the service which fetches the root cause AI data async and saves it in a redis cache

The data is the returnable via a graphql query which can be polled by the frontend.

https://gitlab.com/gitlab-org/gitlab/-/issues/411603

Screenshots

Screenshot_2023-05-19_at_4.16.50_PM

How to set up and validate locally

mutation ajf {
  aiAction(input: {analyzeCiJobFailure: {resourceId: "gid://gitlab/Ci::Build/342"}}) {
    requestId,
    data,
    errors
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Allison Browne

Merge request reports