Misleading error related to cache

Problem to solve

Users initially think a job has failed when the error is displayed regarding missing cache. It has the same information architecture as an actual job failure job log line.

image

An example can be found at https://gitlab.com/dimitrieh/gitlab-design-test/-/jobs/368385810

Intended users

Further details

The problem of this issue has been validated with UX scorecard - Setting up GitLab-CI and can be reviewed with insight issue: https://gitlab.com/gitlab-org/uxr_insights/issues/781

Proposal

  • Style lines which do not actually fail the job differently from those that do: Make this warning orange-500 colored
  • Adjust copy to state less severe message: Fatal => Warning

We don't need to change the actual log message text as part of this fix, only ensure that the errors that don't fail the pipeline are treated as Warning and styled to look as a warning. So we want to change the prefix from Fatal or Error to Warning and use orange color instead of red, which should be reserved for critical errors.

image

Edited by Nadia Sotnikova