Update all the Go dependencies#11741
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
|
I think this is a good idea. We can review after the tests are fixed (since they look like they might need actual code changes to pass). |
This seems to work for the basics just fine, so let's have CI take a run at this as well to update these. Only one small update to the Azure blob storage handling seems needed so far. Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
545f73c to
a5a19d3
Compare
@deepthi Yeah, the main issue is that we have many places that end up using |
We're using `reflect.DeepEqual` or `testify` helpers that essentially use that in a number of places are comparing protobufs. This is not supported though, protobufs are not comparable with `reflect.DeepEqual`. This is exposed because of the tiny patch bump of protobuf which changes some internal optimization of how it initializes protobufs that breaks all this. Instead, move to the appropriate helpers here. Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
a5a19d3 to
5597975
Compare
|
This is now ready for review. The issue in the |
systay
left a comment
There was a problem hiding this comment.
Thanks for doing this! ❤️
| out := &Result{ | ||
| InsertID: result.InsertID, | ||
| RowsAffected: result.RowsAffected, | ||
| Info: result.Info, | ||
| InsertID: result.InsertID, | ||
| SessionStateChanges: result.SessionStateChanges, | ||
| StatusFlags: result.StatusFlags, | ||
| Info: result.Info, | ||
| } |
There was a problem hiding this comment.
looks like unrelated changes for the PR StatusFlags: result.StatusFlags
* Update all the Go dependencies This seems to work for the basics just fine, so let's have CI take a run at this as well to update these. Only one small update to the Azure blob storage handling seems needed so far. Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> * Use correct proto comparisons We're using `reflect.DeepEqual` or `testify` helpers that essentially use that in a number of places are comparing protobufs. This is not supported though, protobufs are not comparable with `reflect.DeepEqual`. This is exposed because of the tiny patch bump of protobuf which changes some internal optimization of how it initializes protobufs that breaks all this. Instead, move to the appropriate helpers here. Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
This reverts commit 18faa1e.
…cy (#266) * `slack-vitess-r15.0.5`: add `slack_cross_cell` custom durability policy Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * go mod tidy Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * go mod tidy Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * go mod tidy again Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * Use tag Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * use v0.15.1 Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * update shim Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * Make `Durabler` interface methods public (vitessio#15548) Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> Signed-off-by: Manan Gupta <manan@planetscale.com> Co-authored-by: Manan Gupta <manan@planetscale.com> * Update `slack_cross_cell` shim Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * go mod tidy Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * go mod tidy again Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * Allow private go module from vitess-additions repo Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * Fix typo Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * Missing non-template update Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * Missing non-template update Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * Missing non-template update, pt 3 Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * Fix docker tests Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * make proto Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * fix upgrade/downgrade tests Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * Update all the Go dependencies (vitessio#11741) * Update all the Go dependencies This seems to work for the basics just fine, so let's have CI take a run at this as well to update these. Only one small update to the Azure blob storage handling seems needed so far. Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> * Use correct proto comparisons We're using `reflect.DeepEqual` or `testify` helpers that essentially use that in a number of places are comparing protobufs. This is not supported though, protobufs are not comparable with `reflect.DeepEqual`. This is exposed because of the tiny patch bump of protobuf which changes some internal optimization of how it initializes protobufs that breaks all this. Instead, move to the appropriate helpers here. Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> * Resolve signature mismatch Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * revert protobuf version Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * revert protobuf version, pt 2 Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * Revert "Update all the Go dependencies (vitessio#11741)" This reverts commit 18faa1e. * go mod tidy Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> --------- Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> Signed-off-by: Manan Gupta <manan@planetscale.com> Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> Co-authored-by: Manan Gupta <manan@planetscale.com> Co-authored-by: Dirkjan Bussink <d.bussink@gmail.com>
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
* `slack-15.0`: basic go.mod updates Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * fix signature in `go/vt/mysqlctl/azblobbackupstorage/azblob.go` Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * update expected error for new mysql driver Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * more go.mod updates Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * steal statsd fix from vitessio#11741 Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * go mod tidy Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * update flag e2e tests Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * update flag e2e tests Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> * update flag e2e tests Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com> --------- Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Description
This seems to work for the basics just fine, so let's have CI take a run at this as well to update these.
Only one small update to the Azure blob storage handling seems needed so far.
Related Issue(s)
Some more critical changes have been separate updated already in for example #11694
Checklist