The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/fix/align-bazel-deps-with-maven-10383 has succeeded.
Run started by GitHub user qianye1001 (triggered by qianye1001).

Head commit for run:
97fce71a5eb20e137dc88edee17bae78cc4b3e21 / qianye 
<[email protected]>
fix(ci): resolve protobuf runtime incompatibility (Round 7)

- Add io.grpc:grpc-protobuf:1.53.0 to WORKSPACE maven_install to
  explicitly include the gRPC-protobuf bridge (needed for protobuf
  descriptor registration of well-known types like Timestamp/Duration)
- Add @maven//:io_grpc_grpc_protobuf to auth, proxy, and test
  BUILD.bazel deps (both main and test libraries)
- Upgrade protobuf-java/protobuf-java-util from 3.20.1 to 3.21.7 to
  match grpc-protobuf:1.53.0's compile-time dependency, preventing
  NoSuchMethodError when proto-google-common-protos (compiled against
  3.21.7) calls protobuf APIs not present in 3.20.1

Root cause: grpc-protobuf was not explicitly declared in WORKSPACE,
so the gRPC-protobuf descriptor bridge was missing from the runtime
classpath. Additionally, grpc-protobuf:1.53.0 and its transitive dep
proto-google-common-protos were compiled against protobuf 3.21.7, but
the pinned 3.20.1 (version_conflict_policy=pinned) caused forward-
compatibility failures (NoSuchMethodError on TimestampProto.getDescriptor,
VerifyError on Duration vs AbstractMessage).

Report URL: https://github.com/apache/rocketmq/actions/runs/26489065048

With regards,
GitHub Actions via GitBox

Reply via email to