Skip to content

build(lint): bump golangci-lint to v2.15.0 - #120

Merged
bomly-guy merged 1 commit into
mainfrom
build/golangci-lint-2.15.0
Oct 24, 2026
Merged

bomly-guy merged 1 commit into
mainfrom
build/golangci-lint-2.15.0

Conversation

@bomly-guy

Copy link
Copy Markdown
Contributor

Bumps the pinned golangci-lint from v2.13.2 to v2.15.0 in both places it is pinned: GOLANGCI_LINT_VERSION in the Makefile and the golangci-lint-action version: in .github/workflows/ci.yml.

Why

golangci-lint v2.13.2 cannot type-check packages built by Go 1.27.2. Every package fails with:

could not load export data ... export data version 5 is greater than maximum supported version 4

Its bundled golang.org/x/tools is too old to read the export data format Go 1.27.2 writes.

Why CI stayed green

actions/setup-go reads the go.mod floor (go 1.27.0) and installs 1.27.0, whose export data v2.13.2 can still read. Locally the toolchain is 1.27.2, so make lint broke there. A cached golangci-lint result can also hide the failure, so the verification below ran with an empty cache.

bomly-cli made the same bump in bomly-dev/bomly-cli#530.

Verification (Go 1.27.2, golangci-lint 2.15.0)

  • GOLANGCI_LINT_CACHE=$(mktemp -d) golangci-lint run ./... → 0 issues. No new findings from v2.15.0.
  • make test, make vet, make fmt-check all pass.

🤖 Generated with Claude Code

golangci-lint v2.13.2 bundles a golang.org/x/tools too old to read the
export data Go 1.27.2 writes (version 5; it supports 4), so every package
fails to type-check locally. CI stayed green only because setup-go
installs the go.mod floor (1.27.0). v2.15.0 lints the module with 0
issues from an empty cache on Go 1.27.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 47 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: e29c9f38-c8ca-484a-989e-2456d4f47005
Commits

Reviewing files that changed from the base of the PR and between a4b10b9 and 2e938ed.

Files selected for processing: 2
  • .github/workflows/ci.yml
  • Makefile
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T23:49:24.856073Z 2e938ed PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

Bomly Diff Summary

Compared a4b10b992998f25bf7d9c6654d6b39af43326227 to 2e938ed984e1a26b1aeeeb2cd184bead139d8f43.

Overview

Status Manifests Dependencies Findings Duration
✅ Pass +0 / ~0 / -0 0 added / 0 version changed / 0 detail changes / 0 removed 0 introduced / 0 persisted / 0 resolved 1m 6s

Dependency Changes

✅ No dependency changes.

Vulnerabilities

✅ No vulnerability changes.

License Changes

✅ No license changes.

Project Posture

✅ No project posture changes (--matchers +scorecard was not selected).

Policy Findings

✅ No policy differences were identified.

@bomly-guy
bomly-guy merged commit d9007c4 into main Oct 24, 2026
11 checks passed
@bomly-guy
bomly-guy deleted the build/golangci-lint-2.15.0 branch October 24, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant