task check's lint step fails with typecheck errors that have nothing to do with the code under review:
could not import sync/atomic ... cannot load export data: internal error in importing "sync/atomic" (cannot decode "sync/atomic", export data version 5 is greater than maximum supported version 4)
The installed golangci-lint 2.13.2 was built with go1.27.0-X:simd; its importer supports export data version 4. The toolchain now compiles std and the module to version 5. The failing package varies between runs (relay, then internal/channels/status), so lint is nondeterministic and the gate cannot complete.
Rebuilding golangci-lint with the local go1.27.2 toolchain does not fix it: golangci-lint 2.13.2's x/tools gcimporter is still capped at version 4.
Fix options: upgrade golangci-lint to a release whose x/tools reads export data version 5, or run lint with a go1.27.0 toolchain (GOTOOLCHAIN=go1.27.0).
Done when: task check's lint step passes on a clean tree.
Acceptance criteria
The task check lint step passes on a clean tree with a Go-compatible golangci-lint configuration.
Close reason
golangci-lint 2.14.0 reads go1.27.2 export data; task lint passes on a clean tree (0 issues, both modules).
Imported from beads archie-core-rhne · GitHub #1544 · type bug · priority P2 · created 2026-10-09 · closed 2026-10-24
task check's lint step fails with typecheck errors that have nothing to do with the code under review:
could not import sync/atomic ... cannot load export data: internal error in importing "sync/atomic" (cannot decode "sync/atomic", export data version 5 is greater than maximum supported version 4)
The installed golangci-lint 2.13.2 was built with go1.27.0-X:simd; its importer supports export data version 4. The toolchain now compiles std and the module to version 5. The failing package varies between runs (relay, then internal/channels/status), so lint is nondeterministic and the gate cannot complete.
Rebuilding golangci-lint with the local go1.27.2 toolchain does not fix it: golangci-lint 2.13.2's x/tools gcimporter is still capped at version 4.
Fix options: upgrade golangci-lint to a release whose x/tools reads export data version 5, or run lint with a go1.27.0 toolchain (GOTOOLCHAIN=go1.27.0).
Done when: task check's lint step passes on a clean tree.
### Acceptance criteria
The task check lint step passes on a clean tree with a Go-compatible golangci-lint configuration.
### Close reason
golangci-lint 2.14.0 reads go1.27.2 export data; task lint passes on a clean tree (0 issues, both modules).
---
_Imported from beads `archie-core-rhne` · GitHub #1544 · type bug · priority P2 · created 2026-10-09 · closed 2026-10-24_
sam
added the mediumbug labels 2026-10-27 13:40:50 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
task check's lint step fails with typecheck errors that have nothing to do with the code under review:
could not import sync/atomic ... cannot load export data: internal error in importing "sync/atomic" (cannot decode "sync/atomic", export data version 5 is greater than maximum supported version 4)
The installed golangci-lint 2.13.2 was built with go1.27.0-X:simd; its importer supports export data version 4. The toolchain now compiles std and the module to version 5. The failing package varies between runs (relay, then internal/channels/status), so lint is nondeterministic and the gate cannot complete.
Rebuilding golangci-lint with the local go1.27.2 toolchain does not fix it: golangci-lint 2.13.2's x/tools gcimporter is still capped at version 4.
Fix options: upgrade golangci-lint to a release whose x/tools reads export data version 5, or run lint with a go1.27.0 toolchain (GOTOOLCHAIN=go1.27.0).
Done when: task check's lint step passes on a clean tree.
Acceptance criteria
The task check lint step passes on a clean tree with a Go-compatible golangci-lint configuration.
Close reason
golangci-lint 2.14.0 reads go1.27.2 export data; task lint passes on a clean tree (0 issues, both modules).
Imported from beads
archie-core-rhne· GitHub #1544 · type bug · priority P2 · created 2026-10-09 · closed 2026-10-24