Draft: Add Gitaly proxy sessions and director to Workhorse

What does this MR do and why?

This MR adds the Workhorse library layer for Gitaly proxy sessions, grant handling, HTTP/2 stream tracking, and configuration. The route and shutdown wiring follow in !256922. This MR is chained on !253414.

References

Related to gitlab-org/orbit/knowledge-graph#1252

Screenshots or screen recordings

Before After
Not applicable Not applicable

How to set up and validate locally

From workhorse/, run:

go build ./...
go vet ./internal/gitalyproxy/... ./cmd/... ./internal/config/... ./internal/upstream/...
golangci-lint run ./internal/gitalyproxy/... ./internal/config/...
go test -race ./internal/gitalyproxy/... ./internal/config/...

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 Dmitry Gruzd

Merge request reports

Loading
Loading