-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Update all the Go dependencies #11741
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 <[email protected]>
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 <[email protected]>
a5a19d3
to
5597975
Compare
This is now ready for review. The issue in the |
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.
Thanks for doing this! ❤️
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]> * 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 <[email protected]> Signed-off-by: Dirkjan Bussink <[email protected]>
This reverts commit 18faa1e.
…cy (#266) * `slack-vitess-r15.0.5`: add `slack_cross_cell` custom durability policy Signed-off-by: Tim Vaillancourt <[email protected]> * go mod tidy Signed-off-by: Tim Vaillancourt <[email protected]> * go mod tidy Signed-off-by: Tim Vaillancourt <[email protected]> * go mod tidy again Signed-off-by: Tim Vaillancourt <[email protected]> * Use tag Signed-off-by: Tim Vaillancourt <[email protected]> * use v0.15.1 Signed-off-by: Tim Vaillancourt <[email protected]> * update shim Signed-off-by: Tim Vaillancourt <[email protected]> * Make `Durabler` interface methods public (vitessio#15548) Signed-off-by: Tim Vaillancourt <[email protected]> Signed-off-by: Manan Gupta <[email protected]> Co-authored-by: Manan Gupta <[email protected]> * Update `slack_cross_cell` shim Signed-off-by: Tim Vaillancourt <[email protected]> * go mod tidy Signed-off-by: Tim Vaillancourt <[email protected]> * go mod tidy again Signed-off-by: Tim Vaillancourt <[email protected]> * Allow private go module from vitess-additions repo Signed-off-by: Tim Vaillancourt <[email protected]> * Fix typo Signed-off-by: Tim Vaillancourt <[email protected]> * Missing non-template update Signed-off-by: Tim Vaillancourt <[email protected]> * Missing non-template update Signed-off-by: Tim Vaillancourt <[email protected]> * Missing non-template update, pt 3 Signed-off-by: Tim Vaillancourt <[email protected]> * Fix docker tests Signed-off-by: Tim Vaillancourt <[email protected]> * make proto Signed-off-by: Tim Vaillancourt <[email protected]> * fix upgrade/downgrade tests Signed-off-by: Tim Vaillancourt <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Signed-off-by: Dirkjan Bussink <[email protected]> * Resolve signature mismatch Signed-off-by: Tim Vaillancourt <[email protected]> * revert protobuf version Signed-off-by: Tim Vaillancourt <[email protected]> * revert protobuf version, pt 2 Signed-off-by: Tim Vaillancourt <[email protected]> * Revert "Update all the Go dependencies (vitessio#11741)" This reverts commit 18faa1e. * go mod tidy Signed-off-by: Tim Vaillancourt <[email protected]> --------- Signed-off-by: Tim Vaillancourt <[email protected]> Signed-off-by: Manan Gupta <[email protected]> Signed-off-by: Dirkjan Bussink <[email protected]> Co-authored-by: Manan Gupta <[email protected]> Co-authored-by: Dirkjan Bussink <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
* `slack-15.0`: basic go.mod updates Signed-off-by: Tim Vaillancourt <[email protected]> * fix signature in `go/vt/mysqlctl/azblobbackupstorage/azblob.go` Signed-off-by: Tim Vaillancourt <[email protected]> * update expected error for new mysql driver Signed-off-by: Tim Vaillancourt <[email protected]> * more go.mod updates Signed-off-by: Tim Vaillancourt <[email protected]> * steal statsd fix from vitessio#11741 Signed-off-by: Tim Vaillancourt <[email protected]> * go mod tidy Signed-off-by: Tim Vaillancourt <[email protected]> * update flag e2e tests Signed-off-by: Tim Vaillancourt <[email protected]> * update flag e2e tests Signed-off-by: Tim Vaillancourt <[email protected]> * update flag e2e tests Signed-off-by: Tim Vaillancourt <[email protected]> --------- Signed-off-by: Tim Vaillancourt <[email protected]>
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