Skip to content

build: raise toolchain to go 1.27.2 - #559

Merged
fank merged 1 commit into
mainfrom
claude/pin-go-test-coverage-v2.19.0
Oct 18, 2026
Merged

fank merged 1 commit into
mainfrom
claude/pin-go-test-coverage-v2.19.0

Conversation

@fank

@fank fank commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Fixes the red Go CI on main for the two most recent merges (#556, #557) and on all currently-open PRs (#558, #554, #220).

Problem

The Check test coverage step uses a floating ref: vladopajic/go-test-coverage/action/source@v2. Since upstream released v2.20.0 (2026-10-03), that tool requires Go >= 1.27, but the module declared go 1.26.5. Every main push since then fails at the coverage step (all tests/build pass):

go: github.com/vladopajic/go-test-coverage/v2@v2.20.0 requires go >= 1.27 (running go 1.26.5; GOTOOLCHAIN=local)

Fix

Raise the module toolchain to go 1.27.2 so the (latest) floating coverage tool runs. Only go.mod changes; go.sum is unchanged.

Verification (local, go1.27.2)

  • go test ./...: all packages pass except one pre-existing maptoolcli test that requires a case-sensitive filesystem (creates altis.zip + Altis.zip; macOS APFS collapses them to one file) - this test passes on Linux CI.
  • go build, go vet: clean.
  • Full coverage pipeline (cover profile + CI dedupe step + go-test-coverage v2.20.0): completes (89.0%, exit 0), i.e. the previously-failing gate now passes.
  • go mod tidy under go1.27.2: only moves klauspost/compress to a direct require.

@fank
fank marked this pull request as ready for review October 18, 2026 10:16
The 'Check test coverage' step uses a floating
vladopajic/go-test-coverage/action/source@v2 ref. Since v2.20.0
(released 2026-10-03) that tool requires Go >= 1.27, so every main push
since then - the two most recent merges included - failed at the coverage
check:

    requires go >= 1.27 (running go 1.26.5; GOTOOLCHAIN=local)

Upgrade the module to go 1.27.2 so the latest coverage tool runs. Verified
locally on go1.27.2: go test passes (only the pre-existing macOS
case-insensitive-filesystem maptoolcli test fails; it passes on Linux CI),
go build/vet clean, and the full coverage pipeline (cover profile + dedupe
+ go-test-coverage v2.20.0) completes successfully.
@fank
fank force-pushed the claude/pin-go-test-coverage-v2.19.0 branch from fe107de to 080b0e1 Compare October 18, 2026 10:18
@fank fank changed the title ci: pin go-test-coverage check to v2.19.0 build: raise toolchain to go 1.27.2 Oct 18, 2026
@fank
fank merged commit 9dc39cb into main Oct 18, 2026
1 check passed
@fank
fank deleted the claude/pin-go-test-coverage-v2.19.0 branch October 18, 2026 10:18
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