-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
[go] Bump images, dependencies and versions to go 1.24.0 #129688
Conversation
/assign @MadhavJivrajani @liggitt @puerco @xmudrii @Verolop |
I was really hoping sig-storage / sig-windows would complete the sweep and update of windows symlink handling to complete our transition to go 1.23 before we moved on to go 1.24 :-/ Resolution of #129084 should be higher priority than go 1.24, in my opinion (which is tricky since the folks working on that are non-overlapping with the ones updating to go 1.24) |
d977db1
to
cc38cce
Compare
cc38cce
to
cc1cb79
Compare
|
These suppressions are necessary to make golangci-lint 1.64 pass with the current code base. This change is meant to be backported to release branches. On master, we may want to revert some of it together with fixing the findings.
I completely agree we should fix real issues. Understanding why they're newly reported would help us know if they are new issues related to the go 1.24 bump in some way that we should fix with this bump, rather than in a follow-up. (and I agree the stylistic non-bug linting we should just ignore / suppress, likely forever) |
/lgtm once CI is happy |
LGTM label has been added. Git tree hash: 3be923904d98da3bdc4a4cc458967247d0140601
|
Ack. We can ignore gocritic. All of the reported issue are stylistic and not regressions caused by Go 1.24. We can ignore testifylint and ginkgolinter. I'm pretty sure these are enhanced checks and only occur in tests. govet's printf check is new. We knew that the Go team decided to enable that by default and fixed some occurrences, but since then this one got added in 9b6ef25:
That leaves govet's lostcancel:
I think that is because of added support for
However, I'm not seeing anything in the Go release notes about this added support. Perhaps it was considered too minor to be mentioned. |
@pohly maybe we can try adding defer cancel() after each context. |
Yes, that'll be in a follow-up. |
hmmm... same failure
|
@liggitt is there any way we could increase the ulimit ? |
I'm more interested in knowing why go 1.24 exacerbates the failure than working around it |
Imho, once we have this in place #129688 (comment) , go 1.24 should stop complaining, seems like latest one is stricter. |
hrmm, but were any of the flagged locations relevant to the e2e test that's failing? I thought those were mostly in unit test locations we didn't care about |
/hold (seeing how many identical failures we get, not 100% sure we're ok with merging with this level of failure yet) |
not sure of the locations, but i can quickly raise a PR that fixes the context test cases against master branch. |
yeah, the failing test is regularly failing in CI periodics already - https://storage.googleapis.com/k8s-triage/index.html?text=failed%20to%20create%20fsnotify%20watcher%3A%20too%20many%20open%20files we need an open issue for the test / component owner to resolve that pretty quickly /hold cancel |
@cpanato: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/retest |
nice! |
What type of PR is this?
/kind feature
/hold
What this PR does / why we need it:
Which issue(s) this PR fixes:
Part of kubernetes/release#3772
/assign @MadhavJivrajani @liggitt @puerco @xmudrii @Verolop
cc @kubernetes/release-managers
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: