Pipeline duration is changed when a job is being retried
Problem
We noticed in https://gitlab.com/gitlab-org/quality/engineering-productivity/team/-/issues/378#note_1742554903 that the pipeline duration changes when a job is being retried in a pipeline.
The docs for pipeline duration mention that this should not be the case (emphasis is mine):
Total running time for a given pipeline excludes retries and pending (queued) time.
Goal
Understand and document how the pipeline duration is really computed when jobs are being retried.
Related issues
Edited by David Dieulivol