Skip to content

Enable linear GroupPlanPreloader ancestors queries

What does this MR do and why?

In this MR we're removing the feature flag linear_group_plans_preloaded_ancestor_scopes to allow linear GroupPlansPreloader ancestor queries.

How to set up and validate locally

  1. Execute the following in the Rails console with the proper id depending on the scope testing:
Gitlab::GroupPlansPreloader.new.send(:groups_and_ancestors_for, Group.where(id: [1, 2]))

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 #341349 (closed)

Merge request reports