POC: generic Gitaly proxy in Workhorse

Background

Workhorse currently exposes an internal endpoint for the knowledge-graph indexer that fronts a single Gitaly gRPC call. Every additional Gitaly RPC we need means another dedicated endpoint. Calling Gitaly directly from the indexer is not an option since Orbit runs in a separate Kubernetes cluster, so all Gitaly access has to go through Workhorse.

Proposal

We should build a throwaway POC for a generic Gitaly proxy in Workhorse to validate feasibility and surface the main design questions: auth/token propagation, gRPC streaming, repo to Gitaly node routing, and performance overhead.

I'll post the conclusion and Draft MR links here once the POC is done.

Edited by Dmitry Gruzd