X-LightYear opened a new pull request, #5111:
URL: https://github.com/apache/rocketmq-dashboard/pull/5111

   ## Summary
   
   - preserve the LiteTopic name exposed by Aliyun consumer-group inventory 
responses
   - keep it available through `ConsumerGroupVO.subscribedTopics` for REST and 
MCP group-list consumers
   - add deterministic provider-level regression coverage
   
   ## Root cause
   
   Aliyun documents `topicName` as the topic name for a Lite consumer group in 
`ListConsumerGroups`. `AliyunConverters.toConsumerGroupVO` ignored that field, 
so the provider returned an empty `subscribedTopics` list for Lite consumer 
groups.
   
   ## Fix
   
   When the Aliyun consumer-group response contains a non-blank `topicName`, 
map it to the single subscribed-topic entry. Ordinary groups without that field 
retain the existing empty list behavior.
   
   ## Testing
   
   - 
`AliyunInstanceProviderTest.listConsumerGroupsShouldPreserveLiteConsumerTopicTest`
 fails before the fix with `[]` instead of `[lite-session-a]`
   - Aliyun provider/converter tests: 58 passed
   - server package with JDK 23, `-Dmaven.compiler.proc=full`, and 
`-Dmaven.antrun.skip=true`: passed
   - checkstyle: 0 violations
   - full server test suite: unrelated pre-existing environment failures 
because MySQL rejected `root@localhost` during schema migration; affected 
Aliyun tests passed
   
   Fixes #5110


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to