Skip to content

Lint with golangci-lint v2.15.0, which reads Go 1.27.2's export data - #4

Merged
Fly-Playgroud merged 1 commit into
mainfrom
lint/golangci-v2.15.0
Oct 18, 2026
Merged

Fly-Playgroud merged 1 commit into
mainfrom
lint/golangci-v2.15.0

Conversation

@Fly-Playgroud

Copy link
Copy Markdown
Contributor

The reusable go.yml lint job sets up go-version: stable, which is now Go 1.27.2, and golangci-lint v2.13.2 cannot read that toolchain's export data, so every satellite's next lint run fails its typecheck:

could not load export data: internal error in importing "internal/goarch" (cannot decode "internal/goarch", export data version 5 is greater than maximum supported version 4)

It is what has been redding every pull request on wand since 2026-10-11; headlesslab/wand#148 makes the same bump there, and the comment beside wand's pin says the two stay equal.

Proof

Reproduced on fetch with v2.13.2 and go1.27.2 (the error above). Then each satellite, cloned at its main with LF line endings and linted with its own .golangci.yml, or this repo's default for fetch, which has none:

Satellite v2.13.2 on go1.27.1 (before) v2.15.0 on go1.27.2 (this pull request)
fetch 0 issues 0 issues
eventbus 0 issues 0 issues
leakcheck 0 issues 0 issues
seqdiff 0 issues 0 issues
lazyjson 0 issues 0 issues

The satellites call this workflow at a pinned SHA, so each one picks the fix up when it moves its pin to the merge commit.

The lint job sets up stable Go, now 1.27.2, and golangci-lint v2.13.2
fails its typecheck there: "export data version 5 is greater than maximum
supported version 4". v2.15.0 reads it, and fetch, eventbus, leakcheck,
seqdiff and lazyjson each lint to 0 issues on it, as on v2.13.2 with
go1.27.1. Same bump as headlesslab/wand#148, which keeps the two equal.

Co-Authored-By: Claude <noreply@anthropic.com>
@Fly-Playgroud
Fly-Playgroud merged commit 0d29bb8 into main Oct 18, 2026
12 checks passed
@Fly-Playgroud
Fly-Playgroud deleted the lint/golangci-v2.15.0 branch October 18, 2026 07:48
Fly-Playgroud added a commit to headlesslab/fetch that referenced this pull request Oct 18, 2026
headlesslab/.github#4 moves the lint job to golangci-lint v2.15.0. v2.13.2 fails its typecheck on Go 1.27.2, the stable Go the job sets up, with "export data version 5 is greater than maximum supported version 4"; this module lints to 0 issues on v2.15.0.
Fly-Playgroud added a commit to headlesslab/eventbus that referenced this pull request Oct 18, 2026
headlesslab/.github#4 moves the lint job to golangci-lint v2.15.0. v2.13.2 fails its typecheck on Go 1.27.2, the stable Go the job sets up, with "export data version 5 is greater than maximum supported version 4"; this module lints to 0 issues on v2.15.0.
Fly-Playgroud added a commit to headlesslab/seqdiff that referenced this pull request Oct 18, 2026
headlesslab/.github#4 moves the lint job to golangci-lint v2.15.0. v2.13.2 fails its typecheck on Go 1.27.2, the stable Go the job sets up, with "export data version 5 is greater than maximum supported version 4"; this module lints to 0 issues on v2.15.0.
Fly-Playgroud added a commit to headlesslab/lazyjson that referenced this pull request Oct 18, 2026
headlesslab/.github#4 moves the lint job to golangci-lint v2.15.0. v2.13.2 fails its typecheck on Go 1.27.2, the stable Go the job sets up, with "export data version 5 is greater than maximum supported version 4"; this module lints to 0 issues on v2.15.0.
Fly-Playgroud added a commit to headlesslab/leakcheck that referenced this pull request Oct 18, 2026
headlesslab/.github#4 moves the lint job to golangci-lint v2.15.0. v2.13.2 fails its typecheck on Go 1.27.2, the stable Go the job sets up, with "export data version 5 is greater than maximum supported version 4"; this module lints to 0 issues on v2.15.0.
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