Log details of downstream pipeline creation
What does this MR do and why?
- Related to https://gitlab.com/gitlab-org/gitlab/-/issues/285090 (implementation issue)
- Related to #358425 (closed) (feature flag issue)
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.
-
I have evaluated the MR acceptance checklist for this MR.