Frun1na opened a new pull request, #4927:
URL: https://github.com/apache/rocketmq-dashboard/pull/4927

   ### Which Issue(s) This PR Fixes
   
   - Fixes #(issue to be linked)
   
   ### Brief Description
   
   `listMessages` collects dead letters up to `RESEND_HARD_CAP` (5000) and 
returns that as the page total. A group showing 死信数量 8000 opens a drawer 
claiming 共 5000 条消息 with no truncation signal; rows beyond the cap cannot be 
listed, selected or resent. The provider now returns a `DLQMessagePageVO` (page 
fields unchanged plus additive `truncated` / `failedQueueCount` flags) and the 
drawer shows a warning banner when the scan hit the cap. The export path 
already had the same disclosure via `x-dlq-export-truncated`.
   
   ### How Did You Test This Change?
   
   ```
   cd server && mvn -B -ntp test 
-Dtest='DLQControllerTest,RocketMQDLQProviderTest'
   cd web && npx vitest run src/pages/instance/__tests__/DLQPage.test.tsx
   
   server: Tests run: 63, Failures: 0, Errors: 0, Skipped: 0 (BUILD SUCCESS)
   web:    Test Files  1 passed (1) / Tests  22 passed (22)
   ```
   


-- 
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