Skip to content

chore: Raise the Go language version to 1.27 - #31

Merged
ecv merged 2 commits into
mainfrom
chore/go-line-1.27
Nov 27, 2026
Merged

ecv merged 2 commits into
mainfrom
chore/go-line-1.27

Conversation

@ecv

@ecv ecv commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Summary

This repository builds with Go 1.27.4 but still declares the Go 1.26 language version, so its binaries keep Go 1.26's runtime defaults.

Raising the go line to 1.27 changes two of them. Crash output gains goroutine labels, and on macOS and Windows SSL_CERT_FILE and SSL_CERT_DIR now override the platform certificate store, so a Linux build behaves the same in normal operation.

Test plan

  • CI builds and tests pass
  • An hour after staging rolls the new image, pods are Ready with no restarts, error rates are flat and no new alerts fire

Related to datum-cloud/infra#8340

Every Datum repository builds with Go 1.27.4 since step 1 of
datum-cloud/infra#8340, but this module still declares go 1.26, so its
binaries keep Go 1.26's GODEBUG defaults. Step 2 of the upgrade moves the
go line so they run with 1.27's.

Key changes:
- Set the go line to 1.27.0 and keep toolchain go1.27.4

Related to datum-cloud/infra#8340
@ecv
ecv requested a review from kevwilliams November 27, 2026 02:57
Go 1.27 lets a struct literal set a promoted field directly, and
golangci-lint's modernize check flags the older form once the go line
is 1.27, which failed lint on this branch.

Related to datum-cloud/infra#8340
@ecv
ecv marked this pull request as ready for review November 27, 2026 03:27
@ecv
ecv requested a review from a team as a code owner November 27, 2026 03:27
@ecv
ecv enabled auto-merge November 27, 2026 03:27

@kevwilliams kevwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The go line moves to 1.27.0 under the existing toolchain, and the test now sets Name through the promoted field that 1.27 allows.

@ecv
ecv merged commit de2b5db into main Nov 27, 2026
6 checks passed
@ecv
ecv deleted the chore/go-line-1.27 branch November 27, 2026 03:29
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.

2 participants