Skip to content

[v17] Bump Go to 1.25.7#63561

Merged
wethreetrees merged 4 commits intobranch/v17from
wethreetrees/backport-63511-branch/v17
Feb 6, 2026
Merged

[v17] Bump Go to 1.25.7#63561
wethreetrees merged 4 commits intobranch/v17from
wethreetrees/backport-63511-branch/v17

Conversation

@wethreetrees
Copy link
Copy Markdown
Contributor

@wethreetrees wethreetrees commented Feb 5, 2026

Update Go to the latest patch.

Note: Including some changes from ad08e94b re: cgroup unmount. Pulled these in from #58875.

Also had to update golangci-lint (v2.1.5 was built with go1.24) leading to linter issues. Pulled in changes from #62066 to resolve these new issues. I chose golangci-lint v2.7.2 since that is the latest version we have upgraded to in master.

GOLANGCI_LINT_VERSION ?= v2.7.2

Changelog: Updated Go to 1.25.7

wethreetrees and others added 3 commits February 5, 2026 16:47
Adds the MNT_DETACH flag to the cgroups unmount call to workaround
issues stemming from a behavior chagne in Go 1.25 to support
automatically setting GOMAXPROCS. In doing so the Go runtime
interacts with cgroups to determine what limits should be applied
which interferes with our ability to clean up.

Fixes #58879.
* chore: Bump golangci-lint to v2.7.2

* Update e/ reference

* Fix require.IsType issues

* Reverse require.Equal

* Simplify testWebsockets

* Fix TestCreateResources

* Remove trace.Unwrap
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

Amplify deployment status

Branch Commit Job ID Status Preview Updated (UTC)
wethreetrees/backport-63511-branch/v17 1eeb0bc 2 ✅SUCCEED wethreetrees-backport-63511-branch-v17 2026-02-06 01:52:07

Copy link
Copy Markdown
Contributor

@tigrato tigrato left a comment

Choose a reason for hiding this comment

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

is there a reason to upgrade go from 1.24?

We try to avoid updating go unless it goes EOL

@rosstimothy
Copy link
Copy Markdown
Contributor

Go 1.24 will be EOL this month when Go 1.26 is released. We're trying to get ahead of that this time around.

@wethreetrees wethreetrees added this pull request to the merge queue Feb 6, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 6, 2026
* chore: Bump Go to 1.25.7

* Lazily unmount cgroups
Adds the MNT_DETACH flag to the cgroups unmount call to workaround
issues stemming from a behavior chagne in Go 1.25 to support
automatically setting GOMAXPROCS. In doing so the Go runtime
interacts with cgroups to determine what limits should be applied
which interferes with our ability to clean up.

Fixes #58879.

* chore: Bump golangci-lint to v2.7.2 (#62066)

* chore: Bump golangci-lint to v2.7.2

* Update e/ reference

* Fix require.IsType issues

* Reverse require.Equal

* Simplify testWebsockets

* Fix TestCreateResources

* Remove trace.Unwrap

* chore: tidy modules

---------

Co-authored-by: Alan Parra <12500300+codingllama@users.noreply.github.com>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 6, 2026
@wethreetrees wethreetrees added this pull request to the merge queue Feb 6, 2026
Merged via the queue into branch/v17 with commit d499c37 Feb 6, 2026
45 checks passed
@wethreetrees wethreetrees deleted the wethreetrees/backport-63511-branch/v17 branch February 6, 2026 14:02
This was referenced Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit-log Issues related to Teleports Audit Log backport database-access Database access related issues and PRs documentation size/sm tctl tctl - Teleport admin tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants