[ISSUE #9334]♻️Inject remoting command factories into proxy remoting owners - #9338
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
WalkthroughProxy remoting now injects ChangesProxy remoting factory injection
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related PRs
Suggested labels: Suggested reviewers: Poem
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 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
RemotingCommandFactory.The response code, remark, body, custom header, opaque value, flags, authorization behavior, drain behavior, and backend passthrough behavior remain unchanged. The only selectable difference is the owner-provided remoting version and serialization type.
How Did You Test This Change?
cargo test -p rocketmq-proxy dispatcher_responses_keep_independent_owner_defaults --lib --all-featurescargo test -p rocketmq-proxy --lib --all-features(96 passed)cargo test -p rocketmq-proxy --test grpc_ingress --all-features(9 passed)cargo test -p rocketmq-proxy --test remoting_ingress --all-features(3 passed)cargo test -p rocketmq-proxy --test proxy_runtime_scope_compile_fail --all-features(1 passed)cargo check -p rocketmq-proxy --no-default-features --features local-modecargo check -p rocketmq-proxy --no-default-features --features cluster-modecargo clippy -p rocketmq-proxy --no-deps --all-targets --all-features -- -D warningscargo clippy --workspace --no-deps --all-targets --all-features -- -D warningscargo doc -p rocketmq-proxy --no-deps --all-featuresgit diff --checkThe aggregate Windows
cargo fmt --all -- --checkinvocation still reaches OS error 206 because of the workspace command length. Every root workspace package passed its equivalent non-mutating format check individually.proxy_feature_closure::local_mode_excludes_cluster_client_dependenciesreports that the local-only closure containsrocketmq-client-rust. The same focused command fails on the unmodifiedmaincommit with the same assertion; this PR does not change manifests or dependency features. The other closure assertion passes.Summary by CodeRabbit
New Features
Compatibility
Tests