Skip to content

Conversation

@alphanota
Copy link
Contributor

@alphanota alphanota commented Mar 31, 2025

This PR upgrades go to latest version 1.24.1, and fixes some dependencies that break on go 1.24

golanci-lint: Upgrade to a 1.24 compatible version.
logrus analyzer: Upgrade the deps in the log analyzer module
Re-generate the certificates used as testdata in the TestPortForward tests and add a readme in the tesdata linking to instructions on how to generate those files.
Comparing a sync.Mutex field breaks some tests because an unexported field in the Mutex struct, it can't be added as an AllowUnexported option (because its in the "internal/sync" package) so I just removed the sync.Mutex comparison.

@alphanota alphanota requested a review from a team as a code owner March 31, 2025 17:11
…/x509 package appears to have changes that made older pem files un-parseable.
@pull-request-size pull-request-size bot added size/L and removed size/M labels Mar 31, 2025
@alphanota alphanota requested review from mattsanta and plumpy March 31, 2025 19:17
mattsanta
mattsanta previously approved these changes Apr 1, 2025
Copy link
Collaborator

@plumpy plumpy left a comment

Choose a reason for hiding this comment

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

There are (sadly) lots of other places where we hardcode the Go version used. Could you look through all the places we changed during the last upgrade and see if they should be modified too?

https://github.com/GoogleContainerTools/skaffold/pull/9571/files

@alphanota alphanota merged commit cff198e into GoogleContainerTools:main Apr 2, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants