Skip to content

proxy: Register proxy codec

Will Chandler (ex-GitLab) requested to merge wc/register-codec into master

grpc-go v1.60.0 adds a new check to confirm message codecs used are registered. We currently do not register our proxy>proto codec, so the gRPC is frequently logging:

[core] Unsupported codec "proxy\u003eproto". Defaulting to "proto" for now. This will start to fail in future releases.

There is no immediate impact from these errors, but they're quite spammy.

Add an init function to the proxy package to register the codec and import it into internal/cli/gitaly to ensure Gitaly registers it as well.

Closes #5819 (closed)

Edited by Will Chandler (ex-GitLab)

Merge request reports