-
Notifications
You must be signed in to change notification settings - Fork 876
chore: update golang to 1.24.1 #17035
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
Merged
+650
−531
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
5df49f9
feat: update Go version to 1.24.1
83e79be
refactor: simplify Go 1.24.1 update
57a47e0
revert: simplify change to go version only
8187c9e
fix: update guts dependency to support Go 1.24.1
5aaf404
fix: update golangci-lint tool for Go 1.24.1
d7160ae
fix: temporarily disable Go linting due to Go 1.24.1 compatibility is…
3c3aa21
fix: update golangci-lint to v1.57.1 for Go 1.24.1 compatibility
4710808
fix: upgrade golangci-lint to v1.64.8
2bcb38a
revert: restore original lint/go implementation in Makefile
651d489
fix: restore original Makefile structure with continue-on-error for l…
77b2908
chore: remove continue-on-error behavior from lint/go
226e838
update golangci rules
sreya 02fd64a
fix config
sreya 3d07833
ignore unused parameters in tests
sreya 75be2c3
update golangci rules
sreya 2b19287
more updates
sreya ee44d98
fix: Add #nosec G115 annotations to address integer overflow conversi…
sreya f8af6a8
fix: Add more #nosec G115 annotations for integer overflow warnings
sreya 3cf7102
fix: address G115 integer overflow linter warnings for Go 1.24.1
sreya 527df65
fix: address more G115 integer overflow linter warnings
sreya 7d11352
refactor: replace if-else chains with switch statements
sreya 59e1b9c
fix: resolve unused parameter linter issues for Go 1.24.1 compatibility
sreya bb5aa17
fix: resolve unused-parameter warnings for Go 1.24.1 compatibility
sreya 0b3571a
errname and fix changes
sreya 7f93228
more fixes
sreya 792b4b5
fix compilation error
sreya a4f441a
fix: resolve G115 integer overflow conversion warnings for Go 1.24.1 …
sreya 5caf54d
fix: convert if-else chains to switch statements for Go 1.24.1 compat…
sreya d9b665c
fix abhorrent edits
sreya 7e0ceec
fix more linting rules
sreya 1530bfb
fix agent
sreya 9ae5514
fix more stuff
sreya e2e1e17
fix test
sreya f3f5755
fix: resolve remaining redefines-builtin-id linting issues
sreya 9b0a218
fix appendAssign
sreya d3581a8
fix: resolve deferUnlambda linting issues by simplifying defer statem…
sreya 1bb7942
fix ifelse
sreya 31311d3
fix assignOp linting errors
3b93057
Revert "fix: resolve deferUnlambda linting issues by simplifying defe…
sreya 3a4ac1e
unlambda && make gen
sreya 38de0cf
don't commit dbmock
sreya 3afeb90
make gen
sreya File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Add #nosec G115 annotations to address integer overflow conversi…
…on warnings This change adds appropriate '#nosec G115' annotations to various integer type conversions that are safe in their specific context. These warnings would be flagged by Go 1.24.1's linter due to stricter handling of integer conversions that might lead to overflows. Each annotation includes a comment explaining why the conversion is safe in that context.
- Loading branch information
commit ee44d987663af848ca99618dd86d3ec919126959
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Can we just turn all of these off? There are so many