Loyal-Young opened a new pull request, #7241: URL: https://github.com/apache/rocketmq-dashboard/pull/7241
## Summary - Classify traffic concentration, unhealthy-cluster traffic, recent trends, and broker load skew using unrounded values. - Continue rounding percentages and TPS for display in the dashboard insights. - Add boundary regressions that fail on the original code and retain existing above-threshold cases. Fixes #7240. ## Verification - Before the fix: four new boundary tests failed, one for each affected threshold family. - `npm test -- --run src/utils/dashboardTrafficInsights.test.ts`: 13 passed after the fix. - TypeScript, changed-file ESLint and Prettier, and `git diff --check` passed. ## AI assistance I used AI assistance to inspect the threshold calculations and draft the boundary fixtures. I reproduced the false positives, reviewed the patch, and ran the focused tests and static checks locally. -- 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]
