[v13] chore: Update Go toolchain to 1.21.6#37561
Conversation
* chore: Bump Go to 1.21.0 * Run `make dronegen` * Bump .golangci.yml version * Bump docs/config.json version * Update e/ reference
* Fix test after Go 1.21 upgrade
Updated the error messages in the lib/teleterm/teleterm_test.go and lib/auth/tls_test.go test files from "tls: bad certificate" to more specific ones ("tls: certificate required", "unknown certificate authority") to accurately reflect the Go 1.21 update in the TLS server behavior.
* Apply suggestions from code review
Co-authored-by: Alan Parra <alan.parra@goteleport.com>
---------
Co-authored-by: Alan Parra <alan.parra@goteleport.com>
Removed the line that disables Session Tickets (added after Go 1.21 upgrade) to restore the default behavior of TLS servers. It looks like this change introduced a flakiness in a few tests.
* Don't attempt to use Go 1.19 in the root module * Use Go 1.21 on grpcbox * Bump Go to 1.21.1 * Bump Go toolchain to go1.21.1 * Run `make dronegen`
|
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
1 similar comment
|
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
|
Looking back at the history I think this is it. I'm not touching go.mod files as it looks like we'll need a new buildbox first. I'm not getting any changes when running e/ PR soon to follow. |
|
Let's hold off on merging this until we can get a v13 build out with go1.21 and run a few smoke tests |
rosstimothy
left a comment
There was a problem hiding this comment.
I ran a few smoke tests and a smaller scaling test and things seemed alright. 🚢
|
Could I have a .github/workflows approval? @zmb3, @r0mant, @fheinecke, @camscale or @tcsc? |
Update the Go toolchain in preparation for Go 1.22 (and, consequently, the Go 1.20 EOL).
Backports, to various degrees, #30180, #30201, #30525 and #31505.
Changelog: Updated Go to 1.21.6.