Pipeline header status doesn't update once pipeline has finished, even when jobs are retried
Summary
Pipeline status show wrongs status when jobs are running
Steps to reproduce
if you have a pipeline that finishes its run and a manual job in that pipeline, clicking on the manual job should change the pipeline status to running, in reality, the pipeline stays in passed
Note - this issue gets resolved only with page refresh - which will reflect the real status of the pipeline
What is the expected correct behavior?
Job-status should propagate to the pipeline status, so when the job is running the pipeline should be running
Relevant logs and/or screenshots
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
Availability & Testing
- Unit test changes: please update unit test, javascript test accordingly
- Integration test changes: please add checks for pipeline status is updated on Pipeline page when a job is retried in multiple cases (manual, failed, success, etc.) in pipeline feature test
- End-to-end test change: Not required