Added RunnerPolicyPreloader to prevent N+1

What does this MR do and why?

Added RunnerPolicyPreloader to prevent N+1 in runners' bulk operations.

For now, this is not needed in RunnersResolver as when batchloading runners in the resolvers, we are preloading max level access in groups and projects already.

References

Implement `Preloaders::RunnerPolicyPreloader` (#554855 - closed)

Validation:

  • without this MR patch: Screenshot_2025-07-28_at_1.40.21_PM

  • with this MR patch: image

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Narendran

Merge request reports

Loading