-
Notifications
You must be signed in to change notification settings - Fork 338
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
chore(kuma-cp) upgrade Protocol Buffers #2244
Conversation
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2244 +/- ##
==========================================
+ Coverage 51.76% 52.14% +0.38%
==========================================
Files 909 912 +3
Lines 41004 41011 +7
==========================================
+ Hits 21224 21386 +162
+ Misses 17743 17573 -170
- Partials 2037 2052 +15
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit confused about the intended scope of these changes. Is it just upgrading github.com/golang/protobuf
(in which case I probably expected to see fewer changes), or is it converting Kuma internals over to google.golang.org/protobuf
(in which case maybe we should consider more changes to really isolate the old package).
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
The goal of PR is to upgrade Protobuf version. The problem is that just upgrading it results in many linter errors of deprecation, that's why I had to fix it by changing imports. I fixed many imports to a new one, but not all of this. The rest is not a simple change. |
Yup I agree that makes sense. Let's get a github issue open with a list of the remaining work while it's fresh in your mind :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a good improvement to me. Let's merge once integration tests are passing.
Note we still ought to update ./pkg/test/xds/client/go.mod
, but we can do that inn a separate PR.
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]> (cherry picked from commit 19ec14b) # Conflicts: # api/mesh/options.pb.go # api/mesh/v1alpha1/circuit_breaker.pb.go # api/mesh/v1alpha1/dataplane.pb.go # api/mesh/v1alpha1/dataplane_insight.pb.go # api/mesh/v1alpha1/dataplane_overview.pb.go # api/mesh/v1alpha1/externalservice.pb.go # api/mesh/v1alpha1/fault_injection.pb.go # api/mesh/v1alpha1/mesh.pb.go # api/mesh/v1alpha1/mesh_insight.pb.go # api/mesh/v1alpha1/proxy_template.pb.go # api/mesh/v1alpha1/rate_limit.pb.go # api/mesh/v1alpha1/retry.pb.go # api/mesh/v1alpha1/service_insight.pb.go # api/mesh/v1alpha1/timeout.pb.go # api/mesh/v1alpha1/traffic_log.pb.go # api/mesh/v1alpha1/traffic_permission.pb.go # api/mesh/v1alpha1/traffic_route.pb.go # api/mesh/v1alpha1/traffic_trace.pb.go # api/mesh/v1alpha1/zone_ingress.pb.go # api/mesh/v1alpha1/zone_ingress.proto # api/mesh/v1alpha1/zoneingress_overview.pb.go # pkg/xds/auth/callbacks_test.go
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Summary
Update Protocol Buffers dependencies so we can update other stuff.
Documentation
Testing