Random run failure, results in a warning, no linter executed, 0 status code #888
Closed
3 tasks done
Labels
bug
Something isn't working
Thank you for creating the issue!
Please include the following information:
Version of golangci-lint
Config file
Go environment
Verbose output of running
Sometimes, when I run golangci-lint I get this strange error.
But there is actually nothing wrong in my code.
It compiles perfectly fine.
If I run golangci-lint again, it works fine.
If I flush the golangci-lint cache and run it again, it works fine.
I can't reproduce the issue, it happens randomly (including on my CI server), but I saw it many times in the past few months.
The problem is worse, when it happens:
It's a huge issue on my CI server, because a build may appear as positive, but it actually didn't run anything.
Is it possible to fail (return a non 0 status) for this issue ?
At least it will notify me that I must run the build again.
Is it possible to fix this issue ?
I don't have any verbose output, because it happens randomly, and I can't reproduce it reliably.
If it's really needed, I could enable the verbose output on all my projects/build, but I can't guarantee when I will be able to give you new logs.
The text was updated successfully, but these errors were encountered: