Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove mockgen from go generate step #977

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Conversation

timraymond
Copy link
Member

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

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.
@timraymond timraymond added this pull request to the merge queue Nov 8, 2024
Merged via the queue into main with commit d8cda5b Nov 8, 2024
24 checks passed
@timraymond timraymond deleted the traymond/no-mockgen branch November 8, 2024 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate errors while building agent image
2 participants