Skip to content

Log details of downstream pipeline creation

Fabio Pitino requested to merge log-downstream-pipeline-creation into master

What does this MR do and why?

In this MR we start logging when a downstream pipeline (multi-project or parent-child) is created. We log information about the hierarchy size and other metadata to help defining a proper hierarchy size limit that is not disruptive for GitLab SaaS.

For hierarchy size we intend the number of nodes present in a pipeline hierarchy starting from the top-level pipeline (the one that starts triggering all the downstream pipeline). For example, the following pipeline hierarchy will have size 6.

flowchart TD

PipelineA --> PipelineB1
PipelineA --> PipelineB2
PipelineB1 --> PipelineC1
PipelineB1 --> PipelineC2
PipelineB2 --> PipelineC3

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Fabio Pitino

Merge request reports