Gitlab shows the wrong jobs as retries, and should show the first job/try by default

The first job/try shows more logging, in particular it shows that certain folders are being deleted. This means someone who edits a test script with retries is not alerted that certain folders are deleted. As the retry doesn't show this. For them files will simply be inexplicably missing.

In the job view (/{group}/{project}/-/jobs/{job-nr})

Expected behaviour:

  1. The initial failing job is shown by default when opening a pipeline
  2. The first run is clearly marked as the first run (and not incorrectly as a retry)
  3. The first run is shown on top
  4. The actual retries are shown as retries

Actual behaviour:

  1. The last job is opened when opening a pipeline
  2. The last job is down on top, and the first one on the bottom (in the bottom right corner).
  3. The last job is shown as the original (not as a retry).
  4. The first job is shown as a retry

Not a huge issues, but still a pitfall for some.

Edited Jun 26, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading