Skip to content

Show `failure_reason` and upgrade tooltips of jobs

This issue is part of https://gitlab.com/gitlab-org/gitlab-ce/issues/41111

Design

Part 1

Implement this in:

Make tooltips for status badges

image

Tooltip text in case of failed or allowed to fail:

  • "Unknown failure" => Status <br> Unknown failure
  • "Script failure" => Status <br> Script failure
  • "API failure" => Status <br> API failure
  • "Stuck or timeout failure" => Status <br> Stuck or timeout failure
  • "Runner system failure" => Status <br> Runner system failure
  • "Missing dependency failure" => Status <br> Missing dependency failure

Tooltip text in all other cases:

  • Status (Simply state the status, so Passed for passed jobs. This might come in later on when we convert job status badges to only be a status icon)

Examples:

bottom

bottom

Part 2

Implement this in:

Tooltips:

  • "Unknown failure" => job name - failed <br> Unknown failure

  • "Script failure" => job name - failed <br> Script failure

  • "API failure" => job name - failed <br> API failure

  • "Stuck or timeout failure" => job name - failed <br> Stuck or timeout failure

  • "Runner system failure" => job name - failed <br> Runner system failure

  • "Missing dependency failure" => job name - failed <br> Missing dependency failure

Example:

bottom

Edited by Dimitrie Hoekstra