btlqql opened a new issue, #4024:
URL: https://github.com/apache/rocketmq-dashboard/issues/4024
## Problem
The current test suite does not cover empty consumer group queue inventory.
## Expected behavior
- A focused Vitest case locks the existing behavior.
- The targeted test file passes and fails if the covered behavior regresses.
## Scope
Only add regression coverage for $(@{Slug=consumer-group-no-queues;
Focus=empty consumer group queue inventory; PrTitle=test(consumer-group): cover
an empty queue inventory;
TestFile=web/src/utils/consumerGroupDiagnostics.test.ts; Mode=existing;
Append=describe('consumer group diagnostics empty queue inventory', () => {
it('reports zero queue count when no queue progress is supplied', () => {
const diagnostics = analyzeConsumerGroupHealth(
group(),
[],
[],
{ now: '2026-08-31T12:01:00Z' },
);
expect(diagnostics.summary.queueCount).toBe(0);
});
});}.TestFile). No runtime behavior changes.
## Acceptance criteria
- [ ] The targeted Vitest file passes.
- [ ] git diff --check is clean.
--
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]