Merged
Conversation
- Bump go directive from 1.25 to 1.26 in go.work and all 5 module go.mod files - Update Dockerfile build stage from golang:1.25-alpine to golang:1.26-alpine - Upgrade cockroachdb/swiss to fix Go 1.26 runtime compatibility (old version used go:linkname for fastrand64/hashFn which broke in 1.26) - Refactor cmd/wal/perf to use sync.WaitGroup.Go() (new in Go 1.26) and extract functions to reduce cognitive complexity - Fix lint issues newly visible after successful compilation: - Add filepath.Clean for gosec G703 path traversal taint analysis - Add default cases to type switches for revive enforce-switch-style - Preallocate slices with proper capacity for prealloc linter - Update .golangci.yaml: - Exclude gosec G703 (taint-tracked config file paths) - Exclude gosec for maelstrom/ test harness - Exclude revive var-naming for stdlib-conflicting package names - Fix deprecated goconst ignore-strings -> ignore-string-values Signed-off-by: Matteo Merli <mmerli@apache.org>
Signed-off-by: Matteo Merli <mmerli@apache.org>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upgrade to Go 1.26