big-account-56668
10/20/2020, 5:57 PMgolangci-lint
1.31.0
ERRO Running error: gofmt: analysis skipped: errors in package: [/home/circleci/project/cmd/pulumi/main.go:11:2: could not import <http://github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/compute|github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/compute> (-: could not load export data: no export data for "<http://github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/compute|github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/compute>")]
It is not only gofmt
but happens for gocritic
and errcheck
as well. I don't know what the error means but that package specifically has caused a lot of pain as it is linking ~3000 types taking up considerable resources.
Does anyone know what the error means and possibly how to address it other than disabling the linters? I'm at a loss.GOGC
to make the garbage collector very aggressive is one solution. I'm still not sure what is happening though.