Skip to content

Add support for SSHUploadPackWithSidechannel RPC

Jacob Vosmaer requested to merge jv-ssh-sidechannel into main

gitlab-com/gl-infra/scalability#1514 (closed)

This adds support for the new SSHUploadPackWithSidechannel RPC which will replace SSHUploadPack. By default we still use SSHUploadPack. Only if the GitLab internal API returns a response with the use_sidechannel field set to true will we use the new protocol and RPC. The Rails side support for this flag is being added in gitlab!78668 (merged).

This MR includes some test cleanup and a version bump for the Gitaly client dependency in go.mod.

For more information about the expected impact of this change, see gitaly!4251 (merged).

Edited by Jacob Vosmaer

Merge request reports