Skip to content

Remove `sourced_pipelines` association for Bridge jobs

What does this MR do and why?

In #218393 (closed) we discussed the need to have a job trigger only 1 downstream pipeline. A previous MR !103980 (merged) was reverted as we found that removing the has_many :sourced_pipelines relationship from Build jobs caused a regression. So in this MR, we remove the relationship for only Bridge jobs. And we are putting it behind a feature flag.

MR acceptance checklist

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

Related to #218393 (closed)

Edited by Leaminn Ma

Merge request reports