Skip to content

[v13] chore: Update Go toolchain to 1.21.6#37561

Merged
codingllama merged 6 commits intobranch/v13from
codingllama/go121-v13
Feb 5, 2024
Merged

[v13] chore: Update Go toolchain to 1.21.6#37561
codingllama merged 6 commits intobranch/v13from
codingllama/go121-v13

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

@codingllama codingllama commented Jan 30, 2024

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.

codingllama and others added 5 commits January 30, 2024 17:45
* 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`
@github-actions
Copy link
Copy Markdown
Contributor

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 changelog: followed by the changelog entries for the PR.

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

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 changelog: followed by the changelog entries for the PR.

@codingllama
Copy link
Copy Markdown
Contributor Author

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 make dronegen, let me know if that isn't correct.

e/ PR soon to follow.

@rosstimothy
Copy link
Copy Markdown
Contributor

Let's hold off on merging this until we can get a v13 build out with go1.21 and run a few smoke tests

Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy left a comment

Choose a reason for hiding this comment

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

I ran a few smoke tests and a smaller scaling test and things seemed alright. 🚢

@codingllama
Copy link
Copy Markdown
Contributor Author

Could I have a .github/workflows approval? @zmb3, @r0mant, @fheinecke, @camscale or @tcsc?

@codingllama codingllama enabled auto-merge February 5, 2024 16:54
@codingllama codingllama added this pull request to the merge queue Feb 5, 2024
Merged via the queue into branch/v13 with commit 4b046e5 Feb 5, 2024
@codingllama codingllama deleted the codingllama/go121-v13 branch February 5, 2024 17:10
@camscale camscale mentioned this pull request Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants