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
staticcheck: trim the cache #1283
Comments
That would be a bug. Will investigate. |
It looks like we lost the call to Trim in 5cfc85b. |
Fixed on master (which is Go 1.18 only). Will be backported to a bugfix release in a couple days. |
Thanks! |
@dominikh ping on this. Looks like this fix isn't in any release yet? |
@cespare Thanks for the ping. It's now part of https://github.com/dominikh/go-tools/releases/tag/v0.3.3 |
On some CI machines the staticcheck cache has grown to many GB. I took at look at the code and saw that the cache code is copied from the Go tool. However, Cache.Trim is never called (and I can see that there is no
trim.txt
in the cache directory).Is this intentional? I'm guessing it's a bug.
I'm using v0.3.0 but I don't think the behavior has changed since then.
The text was updated successfully, but these errors were encountered: