"Failed to get persisted facts" errors with --allow-parallel-runners
option
#1769
Labels
bug
Something isn't working
Thank you for creating the issue!
Please include the following information:
Version of golangci-lint
Config file
$ cat .golangci.yml
Go environment
Verbose output of running
Running that command won't really demonstrate anything, since the problem is with parallel runs.
The issue we've found is that running
golangci-lint
in parallel across many Go packages at once randomly raises cache errors.Here's an example command that is being run:
golangci-lint run --config ./golangci-lint.yaml --new-from-rev HEAD~1 --allow-parallel-runners service/some-service/status/testcommon
And we get the following output:
Typically this will happen a few times (2-4) when running this across dozens of directories. The directories where this happens vary each time. Running with
--allow-serial-runners
seems to make this go away.I'm guessing there's some sort of race condition with parallel runners and the cache files/directories.
The text was updated successfully, but these errors were encountered: