Add pipeline graph
Description
When looking at a pipeline, we currently render its builds as a list. This is fine for some use cases, but inadequate for others. We should render builds in a graph showing their sequential and parallel natures. A good solution would not take up an inordinate amount of vertical space and would add value by helping a user visualize the pipeline flow, and quickly identify problems in pipeline runs.
Proposal
Pipeline:
Add a pipeline graph above the existing build list. Show both. Possibly let the user collapse the pipeline graph if it's too large.
Todo
-
Collapsing parallel builds of similar name is not handled today. Ideally, we'd leverage automatically parallelized tests (#3819 (closed)), but we could define a convention for naming, such as job-name {index} {total}
and interpret that as a collapsable, parallel job.
Links / references
- Builds on #18516 (closed).
- Continuation from https://gitlab.com/gitlab-org/gitlab-ce/issues/7141#note_12229433.
- Jenkins Blue Ocean UI announcement.