-
Notifications
You must be signed in to change notification settings - Fork 6.1k
pkg/util/hack: split map ABI for go1.25 and go1.26 #66254
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
+512
−16
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
31af02f
pkg/util/hack: split map ABI for go1.25 and go1.26
hawkingrei b19c713
pkg/util/hack: align go1.26 map ABI naming with runtime
hawkingrei 6ec0e42
pkg/util/hack: conditionally compile map ABI tests for go1.25 and go1.26
hawkingrei ff9d313
update
hawkingrei 2c1fb87
use go1.26
hawkingrei 1869085
lint: exclude revive var-naming for go126 map ABI mirror
hawkingrei 7aa075c
makefile: run revive via golangci-lint in lint target
hawkingrei d8e2c2c
makefile: build golangci-lint with go.mod toolchain
hawkingrei 7bf7e35
lint: align revive rules with tools/check/revive.toml
hawkingrei 3049244
lint: exclude selected revive var-naming and dot-import findings
hawkingrei d0ce1c6
lint: restore master lint setup and exclude pkg/util/hack in revive
hawkingrei 809622b
lint: use revive Exclude key for pkg/util/hack filters
hawkingrei dd9bae3
lint: use top-level revive exclude for pkg/util/hack
hawkingrei 73c811f
lint: exclude pkg/util/hack via revive CLI flags
hawkingrei 378371a
update
hawkingrei 5d16af1
build: skip lint on pkg/util/hack and clean grep regex
hawkingrei 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
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
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.
Where does the build process add
go1.25tag? I didn't find the doc related to it 😂And seems we only need one version tag?
should be enough
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.
https://github.com/kakkoyun/client_golang/blob/95d71bd58822329fd53f5c563b771ba49df5dc1b/prometheus/collectors/go_collector_go126_test.go#L12-L16
This way of writing is a standard.
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.
Gemini says it's called ReleaseTags, golang will assign all tags <= current version, so we should use
However I didn't find the official document for it. Do you have more authorized materials for this feature?