-
Notifications
You must be signed in to change notification settings - Fork 259
Closed
Labels
Description
When I'm attempting to build the docker image from the top level Dockerfile
it invokes mage bootstrap
which consistently fails with a failure to compile protovalidate-go:
../../../go/pkg/mod/github.com/bufbuild/protovalidate-go@v0.8.2/resolver/resolver.go:28:99: undefined: validate.MessageConstraints
../../../go/pkg/mod/github.com/bufbuild/protovalidate-go@v0.8.2/resolver/resolver.go:29:38: undefined: validate.MessageConstraints
../../../go/pkg/mod/github.com/bufbuild/protovalidate-go@v0.8.2/resolver/resolver.go:34:95: undefined: validate.OneofConstraints
../../../go/pkg/mod/github.com/bufbuild/protovalidate-go@v0.8.2/resolver/resolver.go:35:38: undefined: validate.OneofConstraints
../../../go/pkg/mod/github.com/bufbuild/protovalidate-go@v0.8.2/resolver/resolver.go:40:95: undefined: validate.FieldConstraints
../../../go/pkg/mod/github.com/bufbuild/protovalidate-go@v0.8.2/resolver/resolver.go:41:38: undefined: validate.FieldConstraints
../../../go/pkg/mod/github.com/bufbuild/protovalidate-go@v0.8.2/resolver/resolver.go:48:100: undefined: validate.PredefinedConstraints
../../../go/pkg/mod/github.com/bufbuild/protovalidate-go@v0.8.2/resolver/resolver.go:49:38: undefined: validate.PredefinedConstraints
This seems to be a bit of a hairball of transitive dependencies from github.com/bufbuild/buf v1.50.1
in _tools/go.mod
(specifically, it brings in a buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go that is too old)
While I believe we could surgically address the offending buf.build
dependencies, it seems to me like it would make more sense to simply bump the top level dependency to the latest released version, v1.55.1 and run go mod tidy
in _tools
to bring the transitive dependencies in line.