WebIDE "Pipelines" panel doesn't update job IDs

Summary

When you make a commit in the WebIDE, it will run the configured pipeline. If the "Pipelines" panel was already open, the Pipeline ID will update to the latest run pipeline ID, but the job IDs won't update.

Steps to reproduce

  1. Make a project with a CI/pipeline config
  2. Open the WebIDE
  3. Open the "Pipelines" panel, and see the most recent run
  4. Make note of the Pipeline ID number and the Job ID numbers
  5. Commit a change
  6. See in the status bar of the WebIDE that a new pipeline has started
  7. Look at the "Pipelines" panel
  8. Make note of the pipeline ID number, and the Job ID numbers

Example Project

https://gitlab.com/LonMcGregor/test-bugs

What is the current bug behavior?

When a new pipeline is started, the pipeline ID is updated, but the job ID's don't change. This also breaks the "View log" function, as it points to the previous job.

What is the expected correct behavior?

All of the IDs (job and pipeline) should update when a new pipeline is started after a commit in the web IDE, when the pipelines panel is already open.

Relevant logs and/or screenshots

vivaldi_2019-04-29_11-56-23

Output of checks

This bug happens on GitLab.com

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading