Pipeline status/ttl should not count pending builds/times

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Description

Experienced on v8.10.12 The pipeline status logic should be modified. The current status considers a pipeline as "Running" if any of the builds have previously executed. In addition, the time taken to complete a pipeline considers the time in pending status. This causes a confusing result in pipeline times and statuses for instances with few workers.

Proposal

Consider a pipeline as "Running" if any of the builds are in "Running". Consider a pipeline as "Pending" if no builds are running and any build is "Pending". Pause the timer for any pipeline in a "Pending" status, or consider the total pipeline run time to be the sum of the build times.

Links / references

Pipeline status (showing running when the build is pending and overall time clocked at 12 minutes) pipeline_status

Pipeline detail (showing the overall time is 3 minutes instead of 12 minutes) pipeline_detail

Edited Sep 04, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading