Skip to content

upgrade golangci-lint to v2.15.0 and golang.org/x/tools to v0.50.0 - #7924

Merged
SungJin1212 merged 1 commit into
cortexproject:masterfrom
SungJin1212:upgrade-golangci-lint-v2.15.0
Nov 9, 2026
Merged

SungJin1212 merged 1 commit into
cortexproject:masterfrom
SungJin1212:upgrade-golangci-lint-v2.15.0

Conversation

@SungJin1212

@SungJin1212 SungJin1212 commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

What this PR does:
Go 1.27.3 writes export data version 5, which golangci-lint v2.13.1 and faillint (golang.org/x/tools v0.49.0) cannot read. Upgrade both so lint works with the Go 1.27.3 build image, and fix the new errcheck findings.

This PR prepares the build image and module for Go 1.27.3:

  • Upgrades golangci-lint in the build image from v2.13.1 to v2.15.0.
  • Upgrades golang.org/x/tools from v0.49.0 to v0.50.0 (the first version that supports export data version 5), which is used by faillint.
  • Fixes the new errcheck findings reported by golangci-lint v2.15.0.

Once this is merged and the new build image is published, the build image tag will be updated in a follow-up PR.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

Go 1.27.3 writes export data version 5, which golangci-lint v2.13.1 and
faillint (golang.org/x/tools v0.49.0) cannot read. Upgrade both so lint
works with the Go 1.27.3 build image, and fix the new errcheck findings.

Signed-off-by: Sungjin1212 <tjdwls1201@gmail.com>
@SungJin1212
SungJin1212 requested a review from a team as a code owner November 9, 2026 01:30
@SungJin1212
SungJin1212 merged commit c8b29b5 into cortexproject:master Nov 9, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants