Implement batch request for CI local includes
What does this MR do and why?
This MR is based on and targets a prerequisite MR !108984 (merged). Those changes are not directly related to this MR, so feel free to ignore them.
Related to #382531 (closed)
This MR implements the batch request mechanism for CI local 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 local files.
This change is behind FF ci_batch_request_for_local_and_project_includes
. (#387974 (closed))
The next MR will cover the project
includes and the same FF will be used for this (!109121 (merged)).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.