Skip to content

chore: raise Go to 1.27.3 - #871

Merged
lakhansamani merged 1 commit into
mainfrom
chore/go-1.27
Nov 8, 2026
Merged

lakhansamani merged 1 commit into
mainfrom
chore/go-1.27

Conversation

@lakhansamani

Copy link
Copy Markdown
Contributor
  • go1.27.2 and go1.27.3 patch 13 standard-library advisories that govulncheck reports against the 1.26 toolchain, and ci.yml, release.yaml and govulncheck.yml all build from go-version-file: go.mod, so the released binaries carry whatever that file says. Reachable findings drop from 14 to 1. Migration: contributors need Go 1.27 on PATH, or GOTOOLCHAIN=auto to fetch it.
  • go.mod: go 1.26.6 -> 1.27.0 and toolchain go1.26.10 -> go1.27.3. The go directive moves too, because golangci-lint formats to the language version this file names.
  • Makefile: GOLANGCI_LINT_VERSION v2.11.4 -> v2.15.0. v2.11.4 is built with go1.26 and fails on go1.27 export data with "export data version N > maximum supported version 2".
  • Three mechanical fixes for the new toolchain. internal/http_handlers/oauth_sso_verify_test.go re-indents under 1.27 gofmt. internal/storage/db/dynamodb/marshal.go and internal/storage/db/cassandradb/provider.go move reflect.Ptr to reflect.Pointer, the same constant under its current name, which the new inline analyzer asks for. internal/storage/db/couchbase/provider_index_retry_test.go binds gocb's timeout sentinel to an error variable before %w.
  • Risk to check on that last one: vet reports the pointer sentinel "defeats errors.Is". It does not here. gocbcore.ErrAmbiguousTimeout is a *dwError whose Error and Unwrap sit on the value receiver, so the pointer keeps both methods and resolves to gocb.ErrTimeout. The one finding left after this PR is GO-2026-6909, which is a stale OSV range rather than a live bug; a follow-up PR gates govulncheck on an allowlist that records why.

go1.27.2 and go1.27.3 patch 13 standard-library advisories govulncheck
reports against the 1.26 toolchain. Lint needs v2.15.0 to read 1.27 export data.
@lakhansamani
lakhansamani merged commit 27ba0f6 into main Nov 8, 2026
5 of 6 checks passed
@lakhansamani
lakhansamani deleted the chore/go-1.27 branch November 8, 2026 13:32
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