You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "qianye1001 (via GitHub)" <gi...@apache.org> on 2026/05/26 13:10:21 UTC
[PR] [ISSUE #10383] Align Bazel WORKSPACE dependencies with Maven pom.xml [rocketmq]
qianye1001 opened a new pull request, #10385:
URL: https://github.com/apache/rocketmq/pull/10385
## Summary
This PR aligns Bazel `WORKSPACE` dependency versions with Maven `pom.xml` to resolve the drift between the two build systems. Closes #10383.
## Changes
### WORKSPACE Updates (20 version bumps + 2 additions)
| Artifact | Old (Bazel) | New (Maven) |
|----------|-------------|-------------|
| `io.netty:netty-all` | 4.1.65.Final | 4.1.130.Final |
| `com.alibaba:fastjson` | 1.2.76 | 1.2.83 |
| `com.google.guava:guava` | 31.0.1-jre | 32.0.1-jre |
| `org.apache.commons:commons-lang3` | 3.12.0 | 3.20.0 |
| `commons-io:commons-io` | 2.7 | 2.14.0 |
| `commons-validator:commons-validator` | 1.7 | 1.10.0 |
| `org.lz4:lz4-java` | 1.8.0 | 1.10.3 |
| `org.bouncycastle:bcpkix-*` | jdk15on:1.69 | **jdk18on:1.83** (artifact renamed) |
| `com.google.code.gson:gson` | 2.8.9 | 2.9.0 |
| `io.grpc:grpc-services` | 1.47.0 | 1.53.0 |
| `io.grpc:grpc-netty-shaded` | 1.47.0 | 1.53.0 |
| `io.grpc:grpc-netty` | *(missing)* | **1.53.0** (added) |
| `io.grpc:grpc-context` | 1.47.0 | 1.53.0 |
| `io.grpc:grpc-stub` | 1.47.0 | 1.53.0 |
| `io.grpc:grpc-api` | 1.47.0 | 1.53.0 |
| `io.grpc:grpc-testing` | 1.47.0 | 1.53.0 |
| `org.springframework:spring-core` | 5.3.26 | 5.3.27 |
| `io.netty:netty-tcnative-boringssl-static` | 2.0.48.Final | 2.0.53.Final |
| `com.squareup.okio:okio-jvm` | 3.0.0 | 3.4.0 |
| `io.opentelemetry:opentelemetry-context` | *(missing)* | **1.47.0** (added) |
## Why
Maven `pom.xml` is the source of truth for dependency versions. The Bazel build system had accumulated significant drift — 18 version mismatches and 2 missing artifacts — leading to inconsistent classpaths and potential runtime behavior differences between the two toolchains.
## Scope
This is **PR1** of the fix plan described in #10383:
- ✅ **This PR:** WORKSPACE version alignment
- 🔜 **Follow-up PR:** Per-module BUILD.bazel deps reconciliation + CI drift guard
## Verification
- [ ] `bazel build //...` passes
- [ ] `bazel test //...` passes
- [ ] Lock file regenerated (requires local Bazel environment)
## Checklist
- [x] I have read the [Contributing Guide](https://github.com/apache/rocketmq/blob/develop/CONTRIBUTING.md)
- [x] I have written the necessary doc or comments
- [x] I have added the necessary unit tests and all tests have passed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ISSUE #10383] Align Bazel WORKSPACE dependencies with Maven pom.xml [rocketmq]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #10385:
URL: https://github.com/apache/rocketmq/pull/10385#issuecomment-4544620080
## [Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/10385?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 48.89%. Comparing base ([`41a3a35`](https://app.codecov.io/gh/apache/rocketmq/commit/41a3a3599013dd9babe6b43108ab9b3fda3e92c4?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`b394749`](https://app.codecov.io/gh/apache/rocketmq/commit/b39474927277a03efbdd7e9b7be8e5a969ec6fcf?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## develop #10385 +/- ##
=============================================
- Coverage 49.00% 48.89% -0.11%
+ Complexity 13485 13450 -35
=============================================
Files 1376 1376
Lines 100527 100527
Branches 12983 12983
=============================================
- Hits 49261 49153 -108
- Misses 45262 45357 +95
- Partials 6004 6017 +13
```
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/rocketmq/pull/10385?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ISSUE #10383] Align Bazel WORKSPACE dependencies with Maven pom.xml [rocketmq]
Posted by "qianye1001 (via GitHub)" <gi...@apache.org>.
qianye1001 closed pull request #10385: [ISSUE #10383] Align Bazel WORKSPACE dependencies with Maven pom.xml
URL: https://github.com/apache/rocketmq/pull/10385
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org