Display Matrix Variables in Downstream Pipeline View

Problem to solve

I’m currently using matrix variables in my GitLab CI/CD pipeline to trigger downstream pipelines.

In the GitLab UI, when viewing downstream part of pipeline, only the name of the triggered project is displayed. To see which matrix variable (e.g., which environment) the pipeline corresponds to, I have to open pipeline and hover over each one individually. It would be great to see the matrix variable (for example environment name) displayed directly alongside the triggered project name in the pipeline view.

Additionally, when the parallel matrix is used in a regular pipeline, the variable is shown in the name of the job within square brackets [ ] at the end. It would be helpful if a similar approach could be applied to the downstream pipelines.

Steps to reproduce

The issue can be observed in any GitLab project where matrix variables are used to trigger downstream pipelines.

Configuration

.parent:
parallel:
matrix:
- ENV: [dev, test, ref, prod]