8000 Add Go 1.27.2 compatibility by stefanb · Pull Request #1834 · dominikh/go-tools · GitHub
[go: up one dir, main page]

Skip to content

Add Go 1.27.2 compatibility - #1834

Closed
stefanb wants to merge 3 commits into
dominikh:masterfrom
stefanb:go-1.27.2
Closed

stefanb wants to merge 3 commits into
dominikh:masterfrom
stefanb:go-1.27.2

Conversation

@stefanb
@stefanb stefanb commented Oct 8, 2026 •
Copy link
Copy Markdown

@stefanb stefanb mentioned this pull request Oct 8, 2026
1 task done
LuisFigueroaG pushed a commit to LuisFigueroaG/versitygw that referenced this pull request Oct 9, 2026
`govulncheck` reported vulnerabilities in `golang.org/x/net` `v0.59.0`, so it is bumped to `v0.60.0`, which fixes them.

Go `1.27.2` changed the compiler export data format, and the latest staticcheck release can't read the new format yet. The `staticcheck` job is pinned to Go `1.27.1`, with `install-go: false` so the action doesn't install Go `stable` over the pinned version.

This pin is temporary until dominikh/go-tools#1834, which adds Go `1.27.2` compatibility, is merged and released. After that, the job should go back to `stable`.
kart2bc added a commit to cloudfoundry/wg-app-platform-runtime-ci that referenced this pull request Oct 9, 2026
…137)

Go 1.27.2 writes export data v5, which staticcheck 2026.2.1 cannot decode
("export data version 5 is greater than maximum supported version 4").
Only verify_staticcheck switches toolchain (GOTOOLCHAIN=go1.27.1); builds
and tests keep using the container's Go. Override with
STATICCHECK_GOTOOLCHAIN. Remove once staticcheck includes
dominikh/go-tools#1834.

Refs TNZ-168690

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
@dominikh
dominikh commented Oct 9, 2026
Copy link
Copy Markdown
Owner

Fixed by f1838cc

@dominikh dominikh closed this Oct 9, 2026
@dominikh
dominikh commented Oct 9, 2026
Copy link
Copy Markdown
Owner

Thank you for the PR though! I would've merged it if I weren't cherry picking several x/tools commits already.

kart2bc added a commit to cloudfoundry/wg-app-platform-runtime-ci that referenced this pull request Oct 16, 2026
…1.27.2+ (#137)" (TNZ-168690) (#138)

staticcheck 2026.2.2 supports the Go 1.27.2 export data format
(dominikh/go-tools#1834, f1838cc), so the GOTOOLCHAIN=go1.27.1
workaround in verify_staticcheck is no longer needed.

This reverts commit 9eb592a.

ai-assisted=yes
TNZ-168690
@stefanb
stefanb deleted the go-1.27.2 branch October 20, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants

0