Skip to content

Implement batch request for CI project includes

What does this MR do and why?

This MR is based on !108826 (merged) and targets its branch

Related to #382531 (closed)

As we did this for the local includes (!108826 (merged)), now we are implementing the same approach for the project includes.

Our main goal is to minimize the number of calls to Gitaly. In this MR, we are collecting the Gitaly calls via BatchLoader and making a single Repository#blobs_at call for all project files.

This change is behind FF ci_batch_request_for_local_and_project_includes. (#387974 (closed))

MR acceptance checklist

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

Edited by Furkan Ayhan

Merge request reports