-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
v1.54.0 warns about using plugins using the old API #4001
Comments
If we don't have a log the users will not be informed, I know that only a few people read the changelog. 🤔 I don't know what to answer. |
Is it a blocker? |
anyway, we can wait until the next minor to display the warning. I will create a PR. |
I agree with #4001 (comment). If we don't show the log over multiple versions, how should the user be informed so they get as much time as possible to migrate? Isn't removing the log just pushing the problem forward? |
We can see the new contract as "experimental" and hope that users will read the changelog. I don't understand why this log is a problem. |
Every Kubernetes developer who runs linting locally will see the warning. Most won't know what it is about. Some will spend (and thus waste) time on investigating. Some may file bugs about it, which then need to be triaged. The effect can be seen in https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/119860/pull-kubernetes-verify/1689711883013066752: because the lines contain "ERROR", it even gets highlighted in the summary of the build log. This is not a blocker, just a nuisance. |
A command line flag to disable that warning also works, but that itself then needs to be maintained. |
Perhaps some env variable?
|
Welcome
Description of the problem
In Kubernetes we need to update golangci-lint to 1.54.0 to support Go 1.21 and also need to backport that update to older release branches, ideally without any other unnecessary changes. Older branches have to be updated to stay on a supported Go release. In particular we would prefer to not update the version of logcheck, the custom plugin that Kubernetes is using.
This currently leads to this warning on every invocation, which happens multiple times for different modules:
It would be nice to give users a bit more time to upgrade plugins before warning about them. Can this warning be removed from v1.54.x and be enabled again in 1.55.x?
Version of golangci-lint
Configuration
https://github.com/kubernetes/kubernetes/blob/18c3c7efb3bcccd84cccc7dacc01f0a7427b8eb9/hack/golangci.yaml#L1-L60
Go environment
Verbose output of running
Code example or link to a public repository
https://github.com/kubernetes/kubernetes/tree/master
Validation
The text was updated successfully, but these errors were encountered: