Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #10848 +/- ##
=============================================
- Coverage 48.37% 48.32% -0.06%
+ Complexity 13555 13537 -18
=============================================
Files 1380 1380
Lines 101165 101175 +10
Branches 13127 13129 +2
=============================================
- Hits 48940 48891 -49
- Misses 46250 46299 +49
- Partials 5975 5985 +10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
RockteMQ-AI
left a comment
There was a problem hiding this comment.
LGTM. Good defensive fix — adds bounds checking (split(":", 2) + length check) and NumberFormatException handling for malformed orderTopicConf entries. The continue approach correctly skips bad entries without breaking the entire route parsing. Applied consistently across both MQClientInstance and MessageQueueSelector.
Automated review by github-manager-bot
|
I confirmed the CI failure is not caused by this PR. Please rerun CI, thanks. |
RockteMQ-AI
left a comment
There was a problem hiding this comment.
Summary
Defensive fix with proper validation and test coverage. LGTM.
Automated review by github-manager-bot
Which Issue(s) This PR Fixes
Brief Description
Skip malformed ordered-topic entries in both client and proxy route conversion while retaining valid broker queue definitions.
How Did You Test This Change?
mise x java@temurin-17 -- mvn -pl client -am -Dtest=MQClientInstanceTest -Dsurefire.failIfNoSpecifiedTests=false testmise x java@temurin-17 -- mvn -pl proxy -am -Dtest=MessageQueueSelectorTest -Dsurefire.failIfNoSpecifiedTests=false test