go-control-plane icon indicating copy to clipboard operation
go-control-plane copied to clipboard

Switch to new Go protobuf v2 module

Open jpeach opened this issue 4 years ago • 10 comments

Upstream switched to a new Go protobuf module, protobuf v2. go-control-plane should fully switch over to this so that client projects can switch too. I think the main change that will be needed is to switch the protoc toolchain over to generate wrapper code with the new module.

jpeach avatar Dec 13 '21 22:12 jpeach

+1 for this. We looked into this previously and I believe the action items were:

  • Update rules_go: https://github.com/bazelbuild/rules_go/issues/2522
  • Update Envoy's internal bazel pipeline
  • Update the build script: https://github.com/envoyproxy/envoy/blob/main/tools/api/generate_go_protobuf.py

Here's an issue for reference: https://github.com/envoyproxy/go-control-plane/issues/403

I can try and help out with this @jpeach but I'm not super skilled/familiar with bazel. I can stumble my way around if you do need me to tackle something though

alecholmez avatar Dec 14 '21 15:12 alecholmez

Oof, that does not look promising ...

jpeach avatar Dec 14 '21 22:12 jpeach

Oof, that does not look promising ...

Yea... this is a big rabbit hole I went down a while back, might be worth revisiting though

alecholmez avatar Dec 26 '21 03:12 alecholmez

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

github-actions[bot] avatar Feb 06 '22 01:02 github-actions[bot]

This should be fixed with rules_go v0.33.0: https://github.com/bazelbuild/rules_go/issues/2522#issuecomment-1158138179

arnehormann avatar Jun 16 '22 21:06 arnehormann

I have a PR open for this now: https://github.com/envoyproxy/envoy/pull/21790

alecholmez avatar Jun 20 '22 17:06 alecholmez

Okay looks like this pr: https://github.com/envoyproxy/envoy/pull/21790 got merged so we can now proceed here. @jpeach would you be interested in picking this back up?

alecholmez avatar Jun 21 '22 20:06 alecholmez

Okay looks like this pr: envoyproxy/envoy#21790 got merged so we can now proceed here. @jpeach would you be interested in picking this back up?

I can probably take a look in a week or so.

jpeach avatar Jun 23 '22 01:06 jpeach

https://github.com/envoyproxy/go-control-plane/pull/607

Would like to know if we will resolve this issue together with this PR?

yckbilly1929 avatar Dec 14 '22 12:12 yckbilly1929

@jpeach

Fixed by https://github.com/envoyproxy/go-control-plane/commit/db0b36a50fa8230b3f8edd718f108a64c74d7880

mmorel-35 avatar Mar 27 '24 06:03 mmorel-35