Skip to content

Hide RCA button on the job logs page

What does this MR do and why?

Hide the RCA button on the job logs page.

The button will hide based if the duo_features_enabled setting is enabled as well.

#455418 (closed)

MR acceptance checklist

Without permissions With permissions
Screenshot_2024-05-17_at_6.18.53_p.m. Screenshot_2024-05-17_at_6.19.10_p.m.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Setup the AI gateway https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist#how-to-run-the-server-locally
  2. Ensure that you're running the GDK in SASS mode export GITLAB_SIMULATE_SAAS=1
  3. In any project configured with CI, go to a failing job and verify that the button is still there
  4. If you want to hide the button, open Admin -> Settings -> General and disable Duo features

Merge request reports