dev: generate go does not pull all generated files back into the repo #76276
Labels
A-build-system
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-dev-inf
Describe the problem
I noticed this with a mockgen target, but it appears, IIUC, that we pull very few files back from the sandbox in
dev generate go
. It appears that we only pull files as described here:cockroach/build/bazelutil/checked_in_genfiles.txt
Lines 6 to 8 in 522e15b
This is far less than ideal. If we're to replace the makefile and go generate more broadly, we need to be able to reliably pull every generated artifact we rely on back into the repo.
Solution
Let's make targets like the protobuf targets to hoist all the generated code.
Epic CRDB-8036
The text was updated successfully, but these errors were encountered: