Split same_family_pipeline_ids query to reduce complexity
Ci::Pipeline#same_family_pipeline_ids uses PipelineObjectHierarchy to recursively find all pipelines (parent + children) given a pipeline object. This previously was finding recursively all ancestors and then all descendants. We can instead fire two queries, one to find the root ancestor and then use that as a baseline to find all descendants.
Showing
Please register or sign in to comment