Skip to content

Pipeline stage order displayed incorrectly

Summary

Pipeline stage order displayed incorrectly when waiting for delay and when running

Steps to reproduce

  1. Create a .gitlab-ci.yml
    • Must have at least two stages
    • Must have stage after deploy
    • Must have a job named pages in stage deploy
  2. Run pipeline
  3. Observe pipeline stage order on pipeline graph as pipeline progresses

Example Project

Link to example project (new pipeline needs to be run to observe bug)

What is the current bug behavior?

Pipeline stage order displayed incorrectly (deploy stage is shown as the last stage of pipeline, but there is still a stage after it) when waiting for delay and when running on stages after deploy stage

What is the expected correct behavior?

Displayed pipeline stage order does not change when jobs have not started, are delayed, are running, and have finished

Relevant logs and/or screenshots

deploy stage running (correct)

1_-Running-Stage_1-_Pipelines

.post stage delay (.post stage should be shown after deploy stage)

2_-Delayed-Stage_2-_Pipeline

2_-Delayed-Stage_2-_Pipelines

.post stage running (.post stage should be shown after deploy stage)

3_-Running-Stage_2-_Pipeline

3_-Running-Stage_2-_Pipelines

All stages completed (correct)

4_-Completed-_Pipeline

4_-Completed-_Pipelines

Output of checks

This bug happens on GitLab.com

Edited by Jonston Chan