[ISSUE #8088]♻️Enforce unified subscriber bootstrap ownership#8089
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughModifies rocketmq-observability's architecture guard test to use a new ChangesSubscriber Installation Detector Update
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🔊@mxsm 🚀Thanks for your contribution🎉! 💡CodeRabbit(AI) will review your code first🔥! Note 🚨The code review suggestions from CodeRabbit are to be used as a reference only, and the PR submitter can decide whether to make changes based on their own judgment. Ultimately, the project management personnel will conduct the final code review💥. |
Which Issue(s) This PR Fixes(Closes)
Brief Description
This PR strengthens the observability architecture guard that protects global tracing subscriber ownership.
Changes include:
tracing_subscriber::fmt(),tracing_subscriber::registry(), andset_global_defaultusage.SubscriberInitExtcall chains that invoke.init()or.try_init().init()calls.How Did You Test This Change?
cargo test -p rocketmq-observability --test architecture_guardspassed.cargo fmt --allpassed.cargo test -p rocketmq-observability --test architecture_guards --all-featurespassed.cargo clippy --workspace --no-deps --all-targets --all-features -- -D warningspassed.Summary by CodeRabbit
initcalls, making validation more reliable.