Repository navigation
[build] Source reflection and channelz v1 schemas from BCR - #42898
stunner-07 wants to merge 4 commits into
Conversation
a5d5229 to
9bc226c
Compare
d7bc58b to
f668415
Compare
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request integrates the external grpc-proto repository as a submodule and dependency across multiple build systems, removing local copies of channelz.proto and reflection.proto and updating generated files to import them from the new external location. The review feedback highlights three issues: first, <grpc/support/port_platform.h> must be included first in channelz_service.h to avoid compilation failures; second, there is a commit mismatch for the grpc_proto dependency between WORKSPACE and other configuration files; and third, the path search logic in generate_cc.bzl should be made more robust to prevent incorrect partial path matches.
yuanweiz
left a comment
There was a problem hiding this comment.
Thanks for this PR. I think it's on the right track, though I've got a few questions:
- Is this the first of a series of PRs or is this the final work? I'm comparing grpc and grpc-proto there seems to be other duplicate proto files such as
grpc/lb/v1/load_balancer.proto. - What do we plan to do with copy.bara.sky file?
|
Also, you can replace the |
Thanks for the review!
|
Add grpc-proto submodule and Bazel dependency (grpc#42898 step 1) Closes grpc#43035 PiperOrigin-RevId: 952288403
Add grpc-proto submodule and Bazel dependency (grpc#42898 step 1) Closes grpc#43035 PiperOrigin-RevId: 952288403
Add grpc-proto submodule and Bazel dependency (grpc#42898 step 1) Closes grpc#43035 PiperOrigin-RevId: 952288403
e9c97c1 to
711f4a0
Compare
711f4a0 to
8d67495
Compare
yuanweiz
left a comment
There was a problem hiding this comment.
Approved the imported cl/957023707
Add grpc-proto submodule and Bazel dependency (grpc#42898 step 1) Closes grpc#43035 PiperOrigin-RevId: 952288403
COPYBARA_INTEGRATE_REVIEW=grpc#42898 from stunner-07:buildMigration c215a1c PiperOrigin-RevId: 960247428
[build] Source reflection and channelz v1 schemas authoritatively from BCR (@grpc_proto)
Transition Server Reflection (v1/v1alpha) and Channelz v1 protocol buffer schemas
from local physical files in
src/proto/grpc/...to authoritative Bzlmod sourcingfrom the Bazel Central Registry (
@grpc_proto).go/grpc-proto-schema-deduplication