chore: upgrade Go version to 1.27 and modernize idioms - #974
Conversation
- Update go.mod to Go 1.27 and run go mod tidy - Run go fix and modernize analyzer passes - Modernize slice lookups with slices.Contains and map copies with maps.Copy - Format repository code with go fmt Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
|
Important Review skippedToo many files! This PR contains 188 files, which is 88 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (188)
You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
Performance Benchmark ResultsNode-Agent Resource Usage
Dedup EffectivenessNo data available. |
Overview
Upgrades the Go version to 1.27 across the project and applies automated idiom refactoring.
go.modto Go 1.27 and tidied dependencies.go fix ./...andgolang.org/x/tools/go/analysis/passes/modernize/cmd/modernize -fix ./....slices.Contains,maps.Copy).go fmt ./....build/Dockerfileandbuild/Dockerfile.debugtogolang:1.27-trixie.pr-created.yaml,pr-merged.yaml,bypass.yaml,component-tests.yaml,benchmark.yaml) and documentation.How to Test
go build ./...go test ./...