Skip to content

[ISSUE #11006]🐛Align OpenTelemetry dependencies and upgrade pending crates - #11007

Merged
mxsm merged 1 commit into
mainfrom
mxsm/issue-11006-crate-upgrades
Sep 29, 2026
Merged

mxsm merged 1 commit into
mainfrom
mxsm/issue-11006-crate-upgrades

Conversation

@mxsm

@mxsm mxsm commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Which Issue(s) This PR Fixes(Closes)

Brief Description

Updating tracing-opentelemetry independently to 0.34.0 mixes OpenTelemetry 0.33 types with the 0.32 SDK, causing E0277, E0308, and E0599 errors in tracing layer construction and context propagation. Upgrade the OpenTelemetry API, SDK, exporters, log appender, and semantic conventions together to 0.33.0, and document the version relationship.

Also update rand to 0.10.3 and openraft-macros to 0.10.0-alpha.35, align the fuzz macro pin, and refresh the root, MCP, fuzz, and Web Dashboard backend lockfiles. Add the changelog entry. OpenRaft core and runtime crates remain pinned to alpha.21, explicitly excluding #10192. No Rust API or feature configuration changes are needed.

Consolidates the versions proposed by #10993, #10987, #10986, #10867, #10826, #10824, #10820, #10818, #10817, #10815, #10814, #10813, #10812, #10810, and #10808.

How Did You Test This Change?

Local validation passed on Windows with Rust 1.95.0:

  • cargo test -p rocketmq-observability --locked, then the same command with each feature set: observability, otlp-metrics, otel-metrics,prometheus, otlp-traces, otlp-logs, and otlp-metrics,otlp-traces,otlp-logs,prometheus. All seven configurations passed; the combined configuration passed 390 tests.
  • cargo test -p rocketmq-controller --locked --no-default-features --features dev-single --test openraft_integration_test: 7 passed.
  • cargo test -p rocketmq-client-rust --locked --lib producer::queue_selector::select_message_queue_by_random: 5 passed.
  • cargo check --locked -p rocketmq-broker -p rocketmq-client-rust -p rocketmq-store -p rocketmq-controller --features rocketmq-broker/otlp-metrics,rocketmq-broker/otlp-traces,rocketmq-broker/otlp-logs,rocketmq-broker/prometheus,rocketmq-controller/metrics-otlp,rocketmq-controller/metrics-prometheus,rocketmq-controller/otlp-traces,rocketmq-controller/otlp-logs: passed after rebuilding a stale local rocketmq-security-api cache artifact.
  • In rocketmq-ai/rocketmq-mcp: cargo check --locked and cargo check --locked --features otlp,streamable-http passed.
  • In rocketmq-dashboard/rocketmq-dashboard-web/backend: cargo check --locked passed.
  • In fuzz: cargo +nightly-2026-07-05 check --locked --bin controller_snapshot --features controller_snapshot passed.
  • cargo tree --locked -p rocketmq-observability --features otlp-metrics,otlp-traces,otlp-logs,prometheus -i opentelemetry confirmed a single API version, 0.33.0.
  • cargo fmt -p rocketmq-controller -p rocketmq-observability -- --check and git diff --check passed.

CI completion is not a merge requirement for this change, as requested by the maintainer.

@mxsm mxsm added bug🐛 Something isn't working dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Sep 29, 2026
@rocketmq-rust-robot rocketmq-rust-robot added AI review first Ai review pr first auto merge ready to review waiting-review waiting review this PR enhancement⚡️ New feature or request approved PR has approved Difficulty level/Hard Hard ISSUE feature🚀 Suggest an idea for this project. rocketmq-broker crate Difficulty level/Easy Easy ISSUE documentation📝 Improvements or additions to documentation refactor♻️ refactor code rocketmq-remoting crate labels Sep 29, 2026
@rocketmq-rust-bot

Copy link
Copy Markdown
Collaborator

🔊@mxsm 🚀Thanks for your contribution🎉!

@mxsm
mxsm merged commit 2e214b8 into main Sep 29, 2026
35 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI review first Ai review pr first approved PR has approved auto merge bug🐛 Something isn't working dependencies Pull requests that update a dependency file Difficulty level/Easy Easy ISSUE Difficulty level/Hard Hard ISSUE documentation📝 Improvements or additions to documentation enhancement⚡️ New feature or request feature🚀 Suggest an idea for this project. refactor♻️ refactor code rocketmq-broker crate rocketmq-remoting crate rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug🐛] Fix OpenTelemetry version conflicts and align pending crate upgrades

3 participants