RockteMQ-AI commented on issue #4599:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/4599#issuecomment-5749418944

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The issue has been verified against the codebase.
   
   **Root Cause:** `RocketMQAuditProvider#summary` catches the 
`BusinessException` from a failed `queryAuditSummary` call and returns 
`AuditSummary.empty()`. The frontend then renders this empty object as "0 
unmatched, 0 matched, 0 total" — making a failed request indistinguishable from 
a successful query that found nothing.
   
   **Impact:** Operators see a false "no records" state when the audit API 
actually failed. The record table below correctly shows an error, creating an 
inconsistency between the summary cards and the table.
   
   **Severity:** Medium — misleading audit dashboard; no data loss.
   
   **Assessment:** The fix should let the summary request failure propagate to 
the frontend as an error state, so the summary cards display an error indicator 
rather than zero counts. The `catch` block in `summary()` should not silently 
return an empty result.
   
   A fix PR is welcome.
   
   ---
   *Automated evaluation by RockteMQ-AI*


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