-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade the go toolchain to go1.23.1
.
#32
Conversation
Can you run Executing golangci-lint
./hack/check.sh: line 23: 7111 Killed: 9 golangci-lint run $GOLANGCI_LINT_CONFIG_FILE --timeout 10m "$@"
make: *** [check] Error 137
|
@seshachalam-yv I was seeing the same issue on my side as well, before raising the PR. I will figure it out and keep you posted here. |
@seshachalam-yv I've upgraded the |
* The older version of `golangci-lint` on version `v1.52.1` was consuming an inordinate amount of memory, and thus ended up getting killed by the OS mid run. See golangci/golangci-lint#3582. * Upgrade to a newer version of `golangci-lint`, `v1.61.0`. * Fix all lint errors reported with the newer version.
Outputs of each make target:
|
How to categorize this PR?
/area dev-productivity
/area security
/kind enhancement
What this PR does / why we need it:
Upgrades the Go dependency to
go1.23.1
.Upgrades the
golangci-lint
version tov1.61.0
. The older version is incompatible withgo1.23.1
, and the linter has to be upgraded to work withgo1.23.1
. The older version has a memory leak which causes the process to leak memory and start consuming memory around120GB
. The upgrade fixes this.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
The tests will fail since the tests run on the older pipeline definitions on master.
Release note: