pulumi / pulumi-kubernetes-operator

A Kubernetes Operator that automates the deployment of Pulumi Stacks
Apache License 2.0
221 stars 55 forks source link

Non-determinism in the go build cache test #410

Closed squaremo closed 1 year ago

squaremo commented 1 year ago

This PR introduced a test that repeated builds don't grow the go build cache (if you are building the same code at the same place, you would expect every package to be a cache hit). However, this has flaked at least once: https://github.com/pulumi/pulumi-kubernetes-operator/actions/runs/4125036191/jobs/7125062959#step:9:502

One idea: set GODEBUG=gocachehash=1 when testing the cache. I don't see any flag that just reports misses, but it might give some clues.

squaremo commented 1 year ago

Fixed by #416

pulumi-bot commented 1 year ago

Cannot close issue without required labels: kind/