Skip to content

Correlate child pipeline to triggering job (UX improvement)

Problem to solve

As a user, I want to understand which job triggers a child pipeline, so I can understand the progression of the pipeline.

All child pipelines have the same appearance and there is no information that can link back to the job triggering them.

The user needs to expand the child pipeline and look at the jobs in it to understand what the pipeline is about.

Screenshot of pipeline with multiple child pipelines, not easy to know which jobs triggered which child pipeline
image

Intended users

User experience goal

Proposal

Create a visual link between the trigger job and the child pipeline.

  1. When a user hovers on a job that is a bridge job, visually highlight the linked downstream pipeline
  2. When user hovers on a downstream/child pipeline, visually highlight the trigger job in the parent pipeline
  3. Change the display name of the child and downstream pipelines to 'Child Pipeline <#ID>' or 'Project name <#ID>', respectively to make the relation clearer
  4. On hover • For bridge jobs, shown the information about the pipeline that it triggers in the tooltip • For child/downstream pipelines, show the information about the job that triggers it (Designs are attached to the issue)

Further details

For a future iteration, we can address in a separate issue this proposed approach from comment:

To visualize which job created a specific child pipeline, instead of using labels we could enhance the display name of the downstream (child or multi-project) pipeline:

  • Today is in the form like gitlab • #86 (project + pipeline ID)
  • A great improvement would be adding more context like test/docs ▶ gitlab • #86 where test and docs are respectively the stage and job name of the trigger job that created the downstream pipeline.

Availability & Testing

Links / references

Edited by Veethika Mishra