Loading
Draft: Wire Gitaly proxy route and shutdown into Workhorse
What does this MR do and why?
This MR wires the Gitaly proxy session library into Workhorse through a dedicated route and Rails preauthorization. It adds the WebSocket handler, upstream route, integration coverage, and graceful shutdown handling. This MR is chained on !253431.
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/... ./cmd/... ./internal/upstream/... ./internal/api/... ./internal/gitaly/...
go test -race ./internal/gitalyproxy/... ./internal/config/... ./cmd/gitlab-workhorse/...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.