Skip to content

feat: support incompatible_enable_proto_toolchain_resolution#608

Merged
alexeagle merged 3 commits intomainfrom
fix_protoc
May 15, 2024
Merged

feat: support incompatible_enable_proto_toolchain_resolution#608
alexeagle merged 3 commits intomainfrom
fix_protoc

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
@aspect-workflows
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

alexeagle added 2 commits May 15, 2024 12:11
This seems like a bug in rules_proto that the initializer call can't bootstrap because it hits a bazel_features load
@alexeagle alexeagle requested a review from gregmagolan May 15, 2024 20:53
@alexeagle alexeagle merged commit 455dcaa into main May 15, 2024
@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