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

   ### Which Issue(s) This PR Fixes
   
   - Fixes #(issue to be linked)
   
   ### Brief Description
   
   `resendSelectedMessages` only branched on `outcome === 'FAILED'` and `failed 
> 0`. The server reports `matched` separately: a selected message that can no 
longer be resolved (purged, broker gone) is dropped with `failed = 0`, so the 
old code fell through to a green `重发完成:成功 X 条` toast. The handler now mirrors 
the time-range resend path and warns whenever `unmatched > 0 || failed > 0 || 
scanIncomplete`.
   
   ### How Did You Test This Change?
   
   ```
   cd web && npx vitest run src/pages/instance/__tests__/DLQPage.test.tsx
   
   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