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
This was not go mod tidy -- that's only a suggestion from the output of the Go toolchain. The problem here is go generate is running mockgen, which is only used for tests. The go generate lines invoking mockgen should only be invoked locally and their byproducts should be checked in. There's no reason to run these in pipelines--it's just a waste of compute.
We don't need to generate mocks when building images, since they're not
even in the final build products and it is a waste of compute. Having it
in here causes spurious errors since we run `go generate` with a
throwaway go.mod. This is to improve Docker caching.
Closes#970
Describe the bug
The
go mod tidy
step is throwing errors. Investigate why and remove the errors.To Reproduce
Pipeline - https://github.com/microsoft/retina/actions/runs/11725715065/job/32662674487#step:8:568
Expected behavior
No errors.
Screenshots
Platform (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: