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

   ### Summary
   
   The ops API exposes system alerts, acknowledgements, related alerts and the 
native collector status, none of which had dedicated contract tests.
   
   ### Changes
   
   - `listSystemAlerts` forwards instance/level filters; `listSystemAlertsPage` 
pages with defaults
   - `listRelatedSystemAlerts` loads related rows and `acknowledgeAlert` posts 
the alert id
   - `clearAcknowledgedAlerts` returns the cleared count
   - `getCollectorStatus` unwraps the native collector metadata
   
   ### Testing
   
   `vitest run src/api/systemAlerts.test.ts` passes: 5 tests, 0 failures (first 
coverage for this area). `tsc --noEmit` and `eslint` are clean.


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