Closed
Description
What the vetall builder does - run go vet on std and tell us about problems - is valuable, but hiding that in a builder makes it too easy to be surprised when it breaks. It would be better if we ran 'go vet' during run.bash (maybe during 'go test', maybe separately), so that the problems are surfaced before you get all the way to sending CLs out. Doing this would require first cleaning up std to be vet-safe.
I intend to chip away at this.
Update: Based on discussion below, my concrete suggestion is:
- Fix all the vet issues in GOROOT so there are no whitelists left.
- Make 'go test' on packages in GOROOT run all vet checks, not just the usual subset.
This will help people catch problems on their native GOOS/GOARCH during regular development. - Make sure misc-compile* trybots have complete GOOS/GOARCH coverage.
- Make those trybots also run vet for their GOOS/GOARCH.
This will help keep detecting build breakages, which is a side effect of the current vetall builder. - Retire the vetall builder.