Repository navigation
chore: Raise the Go language version to 1.27 - #31
Merged
Merged
Conversation
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
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
marked this pull request as ready for review
November 27, 2026 03:27
ecv
enabled auto-merge
November 27, 2026 03:27
kevwilliams
approved these changes
Nov 27, 2026
kevwilliams
left a comment
Contributor
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_FILEandSSL_CERT_DIRnow override the platform certificate store, so a Linux build behaves the same in normal operation.Test plan
Related to datum-cloud/infra#8340