Skip to content

bazel: quash unnecessary dependency on pkg/util/uuid from protos#60441

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
rickystewart:remove_uuid_dep
Feb 10, 2021
Merged

bazel: quash unnecessary dependency on pkg/util/uuid from protos#60441
craig[bot] merged 1 commit intocockroachdb:masterfrom
rickystewart:remove_uuid_dep

Conversation

@rickystewart
Copy link
Copy Markdown
Collaborator

This dependency can be replaced with a few # keep deps in a few choice
proto targets, which is what we should have done the whole time anyway.
This fixes build failures elsewhere in tree -- for example,
pkg/util/uuid:uuid_test, which doesn't play nicely with rules_go in
the presence of this dependency.

Fixes #59778.

Release note: None

This dependency can be replaced with a few `# keep` deps in a few choice
proto targets, which is what we should have done the whole time anyway.
This fixes build failures elsewhere in tree -- for example,
`pkg/util/uuid:uuid_test`, which doesn't play nicely with `rules_go` in
the presence of this dependency.

Fixes cockroachdb#59778.

Release note: None
@rickystewart rickystewart requested a review from a team as a code owner February 10, 2021 19:44
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@irfansharif irfansharif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, I'm pretty sure I've fought this exact same fight before, and even then I'm pretty sure I was confused by the _test packages. Deja vu.

@rickystewart
Copy link
Copy Markdown
Collaborator Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 10, 2021

Build succeeded:

@craig craig bot merged commit 5095a3c into cockroachdb:master Feb 10, 2021
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.

bazel: failure to build tests that depend on pkg/testutils/skip

3 participants