[ISSUE #9329]🐛Fix client Clippy without DNS discovery - #9330
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 (1)
WalkthroughThe feature-disabled NameServer discovery branch now returns its existing ChangesDNS discovery Clippy fix
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
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
Use the feature-disabled DNS discovery error as the block's tail expression. This removes
clippy::needless_returnwhennameserver-dns-discoveryis disabled while preserving the existingConfigInvalidValuebehavior.How Did You Test This Change?
Passed:
cargo fmt -p rocketmq-client-rust -- --checkcargo clippy -p rocketmq-client-rust --all-targets -- -D warningscargo clippy -p rocketmq-client-rust --all-targets --features nameserver-dns-discovery -- -D warningscargo clippy -p rocketmq-client-rust --all-targets --all-features -- -D warningscargo test -p rocketmq-client-rust --test client_runtime_ownership typed_dns_discovery_requires_its_opt_in_feature_before_client_start -- --exactcargo clippy --workspace --no-deps --all-targets --all-features -- -D warningscargo fmt -p rocketmq-example -- --checkcargo clippy --all-targets -- -D warningsfromrocketmq-examplecargo check --locked --workspace, strict Clippy, docs, source layout check, and execution dependency boundary checkgit diff --checkThe SRE all-features test run compiled the client successfully but stopped on two unrelated Windows
STATUS_STACK_OVERFLOWfailures in connector engine tests.The root and example
cargo fmt --all -- --checkcommands remain blocked on Windows by the pre-existing OS 206 aggregate command-line limit. The affected packages pass package-scoped format checks.Summary by CodeRabbit