Skip to content

fix(deps): bump supported Go versions to 1.27.0 and 1.26.7 - #837

Merged
keelerm84 merged 2 commits into
v8from
launchdarklyreleasebot/update-to-go1.27.0-
Aug 27, 2026
Merged

fix(deps): bump supported Go versions to 1.27.0 and 1.26.7#837
keelerm84 merged 2 commits into
v8from
launchdarklyreleasebot/update-to-go1.27.0-

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

It's time to update Relay's supported Go versions, due to a recent upstream Go release.

The Go major release cadence is ~every 6 months; the two most recent major versions are supported.
Note that between major releases, the Go team often ships multiple minor versions.

Current repo configuration Desired repo configuration
Latest 1.26.6 1.27.0
Penultimate 1.25.13 1.26.7

This PR's change was generated by running:

./scripts/update-go-release-version.sh 1.27.0 1.26.7
  • I have triggered CI on this PR (either close & reopen this PR in Github UI, or git commit -m "run ci" --allow-empty && git push)

Note

Overview
Updates Relay’s supported Go toolchain to 1.27.0 (latest) and 1.26.7 (penultimate) in .github/variables/go-versions.env, which drives the CI Go version matrix.

The standalone Docker builder image moves to golang:1.27.0-alpine3.24. golangci-lint is bumped to v2.13.1, and the Makefile now downloads install.sh from the matching release tag instead of master.

Two gosec nolint suppressions are removed in server.go (TLS MinVersion) and autoconfigcache/store.go (context.WithCancel)—behavior is unchanged; this aligns with the newer linter.

Reviewed by Cursor Bugbot for commit d4e0bc7. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions
github-actions Bot requested a review from a team as a code owner August 20, 2026 17:08

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3e43f98. Configure here.

Comment thread .github/variables/go-versions.env
@github-actions
github-actions Bot force-pushed the launchdarklyreleasebot/update-to-go1.27.0- branch from 3e43f98 to 5b575d6 Compare August 21, 2026 17:08
@github-actions
github-actions Bot force-pushed the launchdarklyreleasebot/update-to-go1.27.0- branch from 308c1df to 3db9906 Compare August 26, 2026 17:56
golangci-lint v2.11.1 is built with go1.26, so it panics while
typechecking go1.27 stdlib sources:

    panic: file requires newer Go version go1.27 (application built with go1.26)

This fails every Go 1.27.0 leg of the CI matrix in `make lint`, before
the tests get a chance to run. v2.13.0 added go1.27 support and v2.13.1
is itself built with go1.27.0.

Also pin the installer to the version tag rather than master. The master
copy of install.sh is regressed for v2.13.0+: that release added
.sbom.json entries to checksums.txt, and master's unanchored
`grep "${BASENAME}"` matches both the tarball line and its
.tar.gz.sbom.json line, yielding a two-value expected hash that can
never verify. The tagged installer anchors the grep and works.

Finally, drop two //nolint:gosec directives that gosec v2.13.1 no longer
needs -- nolintlint fails the build on unused directives.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@keelerm84
keelerm84 merged commit 9b4fb46 into v8 Aug 27, 2026
16 checks passed
@keelerm84
keelerm84 deleted the launchdarklyreleasebot/update-to-go1.27.0- branch August 27, 2026 17:14
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