-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Bump golangci-lint to v1.19.1 #2941
Bump golangci-lint to v1.19.1 #2941
Conversation
Hey @corneliusweig, looks like tests failed because golangci-lint ran out of memory:
we could try tweaking the GOGC env variable as suggested in this comment? |
Thanks @priyawadhwa for investigating this! |
Looks like it's still failing, we probably have to go lower. It turns out that Minikube ran into the same issue, and sets these variables for the linter to work with their CI, so we could try some combination of these as well. According to the travis docs we should have 7.5 GB of memory, but looks like >8 is required a lot of the time based on this thread :( |
3bf2293
to
48f3653
Compare
I've reduced the setting one step further. Apparently, v0.19 makes the memory footprint a lot worse. So if this doesn't work reliably now, I'll close this and wait for the next release. They are actively working to reduce the memory consumption again. |
Different error this time!
it might need to be GOLINT_JOBS=4 or something like that |
Also, limit concurrency to 4 processes.
48f3653
to
7bf9120
Compare
So I don't think it makes sense to upgrade to v0.19.x at the moment, given the memory issues with that version. I'll try again with the next release. |
Description
Bump golangci-lint to v0.19.1. I realized that in the previous PR I forgot to adjust the version and only fixed the issues from the new linter version 🤦♂️.
User facing changes
n/a
Before
n/a
After
n/a
Next PRs.
n/a
Submitter Checklist
n/a
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Double check this list of stuff that's easy to miss:
examples
dir, please copy them tointegration/examples
integration/examples
dir, should be tested in integration testReviewer Notes