Skip to content

chore: raise Go to 1.27.4 and upgrade Go dependencies - #890

Merged
lakhansamani merged 2 commits into
mainfrom
chore/go-1.27.4
Nov 14, 2026
Merged

lakhansamani merged 2 commits into
mainfrom
chore/go-1.27.4

Conversation

@lakhansamani

Copy link
Copy Markdown
Contributor

Summary

  • go.mod toolchain go1.27.3 → go1.27.4
  • Dockerfile builder golang:1.27-alpine3.23 → golang:1.27.4-alpine3.24 (matches the alpine 3.24.3 runtime stages)
  • go get -u ./... && go mod tidy (minor/patch upgrades across AWS SDK, pgx, goose, quic-go, crewjam/saml v0.6.3, etc.)
  • crewjam/saml v0.6.3 deprecates the global saml.TimeNow (staticcheck SA1019):
    • IdP code uses time.Now().UTC(), identical to the library default because no IdP Clock is configured
    • the SP verify test pins a per-SP dsig.NewFakeClockAt(samlNow) instead of swapping the process-wide global
  • .govulncheck-allow: re-verified the GO-2026-6909 false-positive reasoning against saml v0.6.3 and updated the cited versions and line numbers

Fixes govulncheck on main

main is red on GO-2026-6859 (net/http MaxBytesReader header race, HTTP/1 server crash). OSV lists it as fixed in Go 1.27.4; this toolchain bump clears it. make vulncheck locally on go1.27.4 reports: reachable 1, allowlisted 1, no blocking vulnerabilities.

Verification (local, go1.27.4 darwin/arm64)

  • go build ./..., go vet ./... pass
  • make lint (golangci-lint + prettier) clean
  • make vulncheck passes
  • make test-all-db passes: all 12 backends ran (postgres, cockroachdb, mysql, mariadb, sqlite, libsql, mongodb, arangodb, scylladb, cassandradb, dynamodb, couchbase), 0 FAIL, 0 SKIP; internal/storage took 238s
  • The SAML clock change landed after test-all-db started, so go test ./internal/http_handlers/ (all SAML tests) was re-run on the final commit and passes

- go.mod toolchain go1.27.3 -> go1.27.4
- Dockerfile builder golang:1.27-alpine3.23 -> golang:1.27.4-alpine3.24
  (matches the alpine 3.24 runtime stages)
- go get -u ./... && go mod tidy
- crewjam/saml v0.6.3 deprecates the global saml.TimeNow: IdP code uses
  time.Now().UTC() (identical to the default; no IdP Clock is configured),
  and the SP verify test pins a per-SP dsig fake clock instead of
  swapping the process-wide global
…jam/saml v0.6.3

GO-2026-6859 (net/http MaxBytesReader race) is fixed by the Go 1.27.4
toolchain bump in this branch; it is what turned govulncheck red on main.
@lakhansamani
lakhansamani merged commit f735d7c into main Nov 14, 2026
4 checks passed
@lakhansamani
lakhansamani deleted the chore/go-1.27.4 branch November 14, 2026 12:01
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