You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 29, 2023. It is now read-only.
Who is going to "fix go vet, staticcheck and go test errors in all repos"? Will this needed to be done by the maintenance tributes? If so, we'll probably need to write up how many we want them to do per week, and what specifically we want them to do (e.g., checkout package, get go vet, statichcekc, and go test to pass, commit changes, update spreadsheeet, and add the repos to https://github.com/protocol/.github/blob/master/.github/workflows/config.json
I don't know the go world to comment on vet/staticcheck but if this is going to be decisive, lets cover this early. Without knowing more here, I would want to make sure we're not making things unnecessarily painful on ourselves here. If there is division about these tools in the go community, lets keep to the standard of "most" other "prominent" go project. I really want to make sure that getting tests to successfully run with each PR isn't lost in this conversation as that is the minimum bar I think we need to hit.
go vet is standard staticcheck is pretty common and a nice minimal subset. Eventually, we could go with a subset of golangci-lint, but that linter is a bit too much sometimes.
I'm going to close this since we're not actively working towards adding all existing Go repos in PL orgs to Unified CI at the moment. What's worth noting on this topic though is that we're trying to cover all new Go repositories with Go (we'll have to rework the process a bit for Unified CI 2.0 though, tracked here ipdxco/unified-github-workflows#34).
Activity
BigLep commentedon Apr 1, 2021
Thanks for tracking this @marten-seemann .
A few things:
marten-seemann commentedon Apr 1, 2021
marten-seemann commentedon Apr 1, 2021
Here's the manual how to contribute to our CI health: https://hackmd.io/@marten-seemann/BkVlbRMBO.
Any comments on the proposed workflow? @BigLep @Stebalien @mvdan
mvdan commentedon Apr 1, 2021
Sounds good to me - I just left a nit comment.
I slightly worry that vet/staticcheck will get some pushback, though. I fully expect vet to be rejected on go-ipld-prime for example.
BigLep commentedon Apr 1, 2021
Thanks @marten-seemann ! A few things:
vet/staticcheckbut if this is going to be decisive, lets cover this early. Without knowing more here, I would want to make sure we're not making things unnecessarily painful on ourselves here. If there is division about these tools in the go community, lets keep to the standard of "most" other "prominent" go project. I really want to make sure that getting tests to successfully run with each PR isn't lost in this conversation as that is the minimum bar I think we need to hit.Thanks!
Stebalien commentedon Apr 2, 2021
go vetis standardstaticcheckis pretty common and a nice minimal subset. Eventually, we could go with a subset ofgolangci-lint, but that linter is a bit too much sometimes.galargh commentedon Aug 28, 2023
I'm going to close this since we're not actively working towards adding all existing Go repos in PL orgs to Unified CI at the moment. What's worth noting on this topic though is that we're trying to cover all new Go repositories with Go (we'll have to rework the process a bit for Unified CI 2.0 though, tracked here ipdxco/unified-github-workflows#34).