-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Sporadic "Can't run linter goanalysis_metalinter: findcall: analysis skipped:" error on a cold cache #885
Comments
Some updates to the investigation. It seems to trigger only when |
I've tried to debug this issue once again and got some results. For some reason cc @jirfag
|
Update: I've bisected to #758, 95ec0cf Additional investigation is still needed. But for now, there are possible workarounds:
Update (2): please try #914, I have a draft for fix which probably solves this issue, at least I can't reproduce it locally. I'm still not sure if it is a proper fix. |
Thanks @ernado for looking into this. |
I will try #914 when I get some time. |
Currently, golangci-lint has some issues that make it fail randomly. Disabling the `unused` linter seems to improve things, so let's do that until golangci-lint has a fix. See: - golangci/golangci-lint#827 - golangci/golangci-lint#885
Any update on this? |
Hi, please try Sorry that it took so long. |
Ok, so this error has gone away, but this release seems to have new bugs :(
It seems like #484, but it wasn't there in 1.21. We cannot migrate to 1.23.2 unless we get a clean output without any warnings. I am going to close this issue as this seems to have been fixed. Thanks for your work. |
Thank you for feedback, @agnivade, I'll take a look at this issue too, seems like much more straightforward to debug. |
Perfect, thanks so much ! Looking forward to the fix. |
golangci/golangci-lint#885 is fixed wth 1.23.3. We can now bring back unused.
golangci/golangci-lint#885 is fixed wth 1.23.3. We can now bring back unused.
golangci/golangci-lint#885 is fixed wth 1.23.3. We can now bring back unused.
Thank you for creating the issue!
Please include the following information:
Version of golangci-lint
Config file
https://github.com/mattermost/mattermost-server/blob/master/.golangci.yml
Go environment
Verbose output of running
You can see such an instance of this here: https://golangci.com/r/github.com/mattermost/mattermost-server/pulls/13090
The text was updated successfully, but these errors were encountered: