Aias00 opened a new pull request, #4362: URL: https://github.com/apache/rocketmq-dashboard/pull/4362
## Summary - Preserve consumer-group lag as unknown until a non-empty broker offset table is read successfully. - Use the existing `consumeStatsAvailable` and `consumptionTimestampAvailable` contract in list and detail rendering, sorting, and real/mock CSV exports. - Keep valid zero lag as zero while failed, null, empty and unknown statistics render/export as unavailable. Fixes #4361 ## Verification - Java 21 with isolated H2 MySQL-compatible datasource: 2382 backend tests passed, Checkstyle 0 violations. - Focused backend tests: 160 passed across metadata list/detail/export paths. - Frontend: 996 tests passed across 121 files; focused consumer tests 49 passed. - Frontend production build passed. - Frontend lint passed with 0 errors; 10 existing warnings remain in unrelated files. - `git diff --check` passed. - Independent code review completed with no remaining findings. ## TDD evidence - Backend tests first failed for no live source, empty/failing `ConsumeStats`, detail refresh and CSV delay output. - Frontend tests first failed for availability flags being ignored by the table/detail and mock CSV export. -- 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]
