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

feat: support incompatible_enable_proto_toolchain_resolution #608

Merged
merged 3 commits into from
May 15, 2024

Conversation

alexeagle
Copy link
Member

See bazelbuild/rules_proto#213


Changes are visible to end-users: no

It will cause bzlmod users to get rules_proto 6.0.0 in their resolved dependencies, which is technically breaking.

Test plan

  • Covered by existing test cases

Note, we could add automated e2e testing for the --noincompatible_enable_proto_toolchain_resolution path as well - feels like overkill given that the conditional logic is all using upstream helpers

@alexeagle alexeagle requested a review from thesayyn May 15, 2024 18:37
Copy link

aspect-workflows bot commented May 15, 2024

Test

All tests were cache hits

74 tests (100.0%) were fully cached saving 14s.


Buildifier      Format

This seems like a bug in rules_proto that the initializer call can't bootstrap because it hits a bazel_features load
@alexeagle alexeagle merged commit 455dcaa into main May 15, 2024
24 checks passed
@alexeagle alexeagle deleted the fix_protoc branch May 15, 2024 22:17
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.

2 participants