-
Notifications
You must be signed in to change notification settings - Fork 750
Update Flyte to Go 1.24 #6603
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
base: master
Are you sure you want to change the base?
Update Flyte to Go 1.24 #6603
Conversation
Bito Automatic Review Skipped - Draft PR |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #6603 +/- ##
==========================================
- Coverage 58.59% 56.00% -2.59%
==========================================
Files 929 929
Lines 70851 70856 +5
==========================================
- Hits 41512 39680 -1832
- Misses 26193 28141 +1948
+ Partials 3146 3035 -111
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Bito Automatic Review Skipped - Draft PR |
1 similar comment
Bito Automatic Review Skipped - Draft PR |
} | ||
|
||
// Creates a new error using an error code and a message. | ||
func Error(errorCode ErrorCode, msg string) error { |
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.
Adds a non-format variant to satisfy go vet
return "", errors.Wrapf(ErrSecureCookie, err, "Error reading secure cookie %s", cookie.Name) | ||
} | ||
|
||
func NewCsrfToken(seed int64) string { |
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.
Removed support for seeding since its apparently unwise to seed the token based on wall clock time, as that makes it potentially predictable for the user.
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.
Changes look good.. will merge once you confirm testing in live service
Signed-off-by: Jason Parraga <[email protected]>
Signed-off-by: Jason Parraga <[email protected]>
Signed-off-by: Jason Parraga <[email protected]>
Signed-off-by: Jason Parraga <[email protected]>
Bito Automatic Review Failed - Technical Failure |
Thanks @Sovietaced ! |
Why are the changes needed?
New versions of go include new features, performance improvements, and security fixes.
What changes were proposed in this pull request?
Updates Flyte to use Go 1.24. Changes can be summarized as follows:
How was this patch tested?
Not tested yet but I can land this in Stack AV's fork.
Check all the applicable boxes
Related PRs
Docs link
Summary by Bito
This pull request updates the Flyte project to Go version 1.24, enhancing performance, security, and compatibility. Key changes include addressing go vet errors, updating the mockery dependency, and refactoring CSRF token generation for improved security. Overall, these modifications ensure the project adheres to the latest Go standards while maintaining functionality.