unbridled-41 opened a new issue, #6000: URL: https://github.com/apache/rocketmq-dashboard/issues/6000
### Studio Version branch: `rocketmq-studio` @ `7e7aa344` ### Runtime Environment Frontend tests: `cd web && npx vitest run src/services/consumerService.test.ts`. ### Describe the Bug The group CSV export writes `group.totalLag` raw, so the backend's -1 sentinel (`ConsumerLagResolver.UNKNOWN`) reaches the spreadsheet as a fabricated "-1" while the sibling Online Instances column renders `unknown` for its own sentinel and the page renders 不可用 for the same row. The server's own exporter writes `unknown` for both (`MetadataService.lagText`/`onlineInstancesText`). ### Steps to Reproduce Export a group whose lag is unavailable; the CSV cell reads `-1` while the table reads 不可用. ### What Did You Expect to See? `unknown`, like the screen and the server export. ### What Did You See Instead? A number that looks measured. ### Impact The export contradicts the page and the API for the same row. ### Acceptance Criteria The sentinel maps to `unknown` (a confirmed 0 stays numeric), with a regression test. **Corresponding PR:** #6001 -- 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]
