-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates GRPC to v1.20.1 #1144
Updates GRPC to v1.20.1 #1144
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cyriltovena The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Build Failed 😱 Build Id: d0c3445f-7be8-44ea-bb7d-f3f32d4127cb To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Not 100% sure why this is failing. If it's the cpp build cache, may need to adjust the |
failing too locally but it wasn't earlier. I'll investigate. |
@markmandel This solves |
Thanks for an update. So this PR would also break new HTTP test which uses swagger generator.
I am thinking on how we can fix that. |
I'm struggling with the cpp SDK. I'm backtracking my changes one by one and rebuilding to see what's wrong. (And building when I have time, cpp build is horribly slow.) |
@cyriltovena did you want a hand with this? I can take a stab, if you would like? |
So I rebased to master on my local branch, and ran the compilation script. I just wanted to capture the output, so we can start to take it apart: Here it is: |
I'm not 100% sure, but it seems like my research is pointing me to something like this:
Will run around the code, and see if we have a definition of protoc that is also included elsewhere that also need to be updated somewhere (unless someone else beats me to it) |
yes this is the problem. The cmake has a version that he uses to get source code https://github.com/googleforgames/agones/blob/master/sdks/cpp/CMakeLists.txt#L98 and build against it. |
Build Failed 😱 Build Id: 05416608-6cb5-4958-9200-9790fcfdd596 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 1c67d83c-5dfd-4ef6-ac02-ab4a2f66722b To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 8da1a53a-9c98-4c86-820f-d791310e57c6 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Kicking off a retry, see if that helps. |
... I think this is timing out! |
Build Failed 😱 Build Id: 73d7134f-e784-4cd8-9d01-7d3f6515a044 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Since it seems like this is not going to build on Cloud Build - should I build it on my workstation (I may have it already), and push it up to gcr.io? |
@cyriltovena if you want to resolve the conflicts, I'm happy to build the image on my workstation and push this up. |
Will do |
While 1.20.1 is the last version used by OpenCensus, OpenTelemetry uses 1.24, I'm thinking while we are at it and since GRPC is backward compatible should we move to 1.24 instead ? 🤷♂ |
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
@markmandel Can you let me know if you can build locally ? You have to start with a clean setup. |
Sure! I'll try and get on it today. Not sure if it's worth the experiment, but you could also change the name of the CPP build cache, which would force a clean build on Cloud Build. |
...building on my workstation! |
So I just realised something - I can build the image, but the image isn't the issue (we don't even store the cpp sdk build image) - the issue is to have the cpp build cache - is it not? Can you edit https://github.com/cyriltovena/agones/blob/grpc/cloudbuild.yaml#L280 to make it something like "cpp-sdk-build-1" or even edit the build steps to include a See if things build from there? |
As I mentioned above there is an issue with swagger codegen: |
Yes works for me locally. No idea how to use a cmakefile. Sorry. |
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Build Failed 😱 Build Id: 60622269-38fb-456c-8ed7-5a22d143dd58 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
alright I sinked enough time into this. I'm done ! |
also quite mad about C++. |
Okay, I'm going to take this over. We will make this work! |
So I'm digging into this - it looks like it did actually compile correctly, but it failed on @aLekSer 's afformentioned issue:
@aLekSer when do you think this will be updated? |
Taking over work started in googleforgames#1144, so we can upgrade Opencensus - Updates gRPC in all places, which updates proto and grpc-gateway - Regenerates the code for all gRPC SDKs as well - Need to workaround a issue with the /watch Swagger codegen, as the swagger changed between versions. This likely means the JSON structure from grpc-gateway for streaming operations also changed. This is a breaking change, but we have no control over it (not sure if anyone is using this specific REST api endpoint, so it's probably a non issue). - Use the C++ library requisites file in the cloud build cache key, so it gets updated as dependencies get updated. Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
Taking over work started in googleforgames#1144, so we can upgrade Opencensus - Updates gRPC in all places, which updates proto and grpc-gateway - Regenerates the code for all gRPC SDKs as well - Need to workaround a issue with the /watch Swagger codegen, as the swagger changed between versions. This likely means the JSON structure from grpc-gateway for streaming operations also changed. This is a breaking change, but we have no control over it (not sure if anyone is using this specific REST api endpoint, so it's probably a non issue). - Use the C++ library requisites file in the cloud build cache key, so it gets updated as dependencies get updated. Closes googleforgames#1214 Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
Taking over work started in #1144, so we can upgrade Opencensus - Updates gRPC in all places, which updates proto and grpc-gateway - Regenerates the code for all gRPC SDKs as well - Need to workaround a issue with the /watch Swagger codegen, as the swagger changed between versions. This likely means the JSON structure from grpc-gateway for streaming operations also changed. This is a breaking change, but we have no control over it (not sure if anyone is using this specific REST api endpoint, so it's probably a non issue). - Use the C++ library requisites file in the cloud build cache key, so it gets updated as dependencies get updated. Closes #1214 Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
Taking over work started in googleforgames#1144, so we can upgrade Opencensus - Updates gRPC in all places, which updates proto and grpc-gateway - Regenerates the code for all gRPC SDKs as well - Need to workaround a issue with the /watch Swagger codegen, as the swagger changed between versions. This likely means the JSON structure from grpc-gateway for streaming operations also changed. This is a breaking change, but we have no control over it (not sure if anyone is using this specific REST api endpoint, so it's probably a non issue). - Use the C++ library requisites file in the cloud build cache key, so it gets updated as dependencies get updated. Closes googleforgames#1214 Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
This version is the one used by the latest release of OpenCensus which is why I made this PR.
I've also update protobuf to the same version as OpenCensus and grpc-gateway.