yuluo-yx opened a new pull request, #3149: URL: https://github.com/apache/rocketmq-dashboard/pull/3149
## What changed - add a read-only portfolio review to both cluster and business alert pages - review the complete domain rule inventory rather than only the current page - identify enabled rules with identical evaluation signatures, duplicate names, enabled rules without notification channels, deleted instance references, and disabled-only scopes - keep distinct thresholds separate to avoid false conflict reports - provide issue and rule views with state, severity, issue, and text filters - export the currently filtered rule review to CSV - add Chinese/English copy and focused pure-function/component tests ## Design boundaries - no rule mutations are performed - no findings are inferred from runtime samples - global rules without an instance are valid - only enabled rules participate in exact duplicate evaluation detection - equivalent duration spellings such as `1m` and `60s` are normalized ## Validation - `npm test -- --run src/utils/alertRulePortfolio.test.ts src/components/__tests__/AlertRulePortfolioDrawer.test.tsx` (11 passed) - `npm test -- --run src/pages/ops/__tests__/AlertsPage.test.tsx` (22 passed) - `npm run lint` (0 errors; 10 pre-existing warnings) - `npm run build` (8040 modules transformed) - `git diff --check` - scope check: 6 files, 1092 additions Fixes #3148 -- 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]
