Extend Gitaly ListRefs RPC to support filtering by OIDs
Problem
In Show tags related to deployed commit on Environ... (#370400), we need to execute find_refs_by_oid
for multiple SHAs at once (up to 20 due to the pagination), however, this results in Gitaly N+1. We should find a way to fetch the information in batch.
Proposal
Extend Gitaly ListRefs
RPC to support filtering by OIDs.
Implementation
See #381779 (comment 1185388358) for implementation guidance.
-
Gitaly implementation - gitaly!5252 (merged) -
GitLab implementation - !110329 (merged)
Edited by Alishan Ladhani