Incorrect display of canceled jobs' icons

Summary

Sometimes when pipelines are cancelled, downwind jobs still show a successful run but there is no job to click on to see output. The job should not have had a chance to run as it would've been queued. I believe we are seeing an incorrect icon.

Steps to reproduce

I believe this happens with jobs that are marked with allow_failure: true. An example CI: https://gitlab.com/skarbek/test0/blob/e0bd74267ca5fa49c54398cca7e141f664ae90f3/.gitlab-ci.yml

Example pipeline showing similar behavior: https://gitlab.com/skarbek/test0/pipelines/96209103

What is the current bug behavior?

The UI incorrectly shows a green checkmark icon for a job that should not have run.

What is the expected correct behavior?

The job should not have run, therefore we should not have any green checkmarks anywhere.

Relevant logs and/or screenshots

Cancelled Pipeline view showing successful job:

image

Job listing:

image

Output of checks

This bug happens on GitLab.com

Assignee Loading
Time tracking Loading