Loyal-Young opened a new pull request, #6906:
URL: https://github.com/apache/rocketmq-dashboard/pull/6906

   ## What is the purpose of the change
   
   Fixes #6905. The System Alerts page treated a successful collector-status 
read as proof that native collection was enabled, although the endpoint only 
returns the collection interval and registered component counts.
   
   ## Brief changelog
   
   - Display the returned cluster and business collector counts in a neutral 
information badge.
   - Remove the unsupported "Native collection enabled" wording and green 
success icon.
   - Add zero-count and nonzero-count component regressions.
   
   The API response and collection behavior are unchanged.
   
   ## Verification
   
   - `vitest run src/pages/ops/__tests__/SystemAlertsPage.test.tsx`: 31 passed.
   - TypeScript `tsc --noEmit`: passed.
   - ESLint on the three changed files: no errors (one existing hook dependency 
warning in `systemAlerts.tsx`).
   - `git diff --check`: passed.
   
   ## AI assistance
   
   AI assistance helped trace what the collector-status endpoint actually 
reports, implement the UI wording change, and draft the regression tests. I 
reviewed the claim against the backend response and ran the checks above.
   


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