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

   ## Summary
   
   Consolidates the alert storage scalability fixes that were split across 
three smaller PRs:
   
   - Replaces #2751: add bounded retention cleanup for terminal alert 
notification deliveries.
   - Replaces #2685: add scope-complete metric snapshot indexes for native 
alert aggregation.
   - Replaces #2673: add server-side alert silence pagination and SQL-scoped 
active silence candidate lookup while keeping the legacy full-list API.
   
   Also includes a small migration compatibility guard so alert schema 
migration does not fail when a non-alert legacy table targeted by an additive 
column migration is absent.
   
   Closes #2748.
   Closes #2682.
   Closes #2664.
   
   ## Verification
   
   - JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn 
-Dtest='AlertSchemaMigrationTest,NotificationOutboxMapperIntegrationTest,NotificationOutboxServiceTest,AlertSilenceServiceTest,MybatisPlusAlertSilenceRepositoryTest,AlertSilenceControllerTest'
 test
     - 35 tests, 0 failures
   - JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn 
-Dtest='AlertSilenceControllerTest,MybatisPlusAlertRepositoryTest,AlertRuleControllerTest,AlertServiceDefaultRulesTest,AlertRuleDurationTest,NotificationOutboxMapperIntegrationTest,AlertNotificationSuppressionServiceTest,AlertRuleAssetControllerTest,MybatisPlusAlertSilenceRepositoryTest,ClusterAlertRuleControllerTest,AlertSilenceServiceTest,AlertFingerprintTest,SystemAlertControllerTest,AlertRuleEvaluatorTest,AlertSchemaMigrationTest,AlertRuleSemanticFingerprintTest,MybatisPlusAlertStateRepositoryTest,NativeAlertRuleTestServiceTest,AlertServiceTest,AlertStateMachineTest,NativeAlertProcessorTest,AlertNotificationTemplateTest,NativeAlertRuleScopeMatcherTest,NativeAlertRulePolicyTest,AlertRuleTransferServiceTest,AlertRuleAssetServiceTest,NativeAlertMetricCatalogServiceTest,AlertRuleRequestDTOTest,AlertRuleTransferDTOTest,NotificationOutboxServiceTest'
 test
     - 240 tests, 0 failures
   - JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn 
-Dtest='DemoDataSqlCompatibilityTest,AlertSchemaMigrationTest' test
     - 5 tests, 0 failures
   - JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -q -DskipTests compile
   - npm test -- src/api/ops.test.ts 
src/pages/ops/__tests__/SystemAlertsPage.test.tsx
     - 2 files, 39 tests, 0 failures
   - npm run build
   - npx tsc --noEmit --pretty false --project web/tsconfig.json
     - 0 diagnostics
   - git diff --check origin/rocketmq-studio...HEAD
   - MySQL 8 container: executed server/src/main/resources/db/schema.sql from 
scratch and verified the alert storage indexes:
     - idx_metric_snapshot_scope_cluster
     - idx_metric_snapshot_scope_global
     - idx_metric_snapshot_retention
     - idx_alert_silence_expiry
     - idx_alert_notification_delivered_retention
     - idx_alert_notification_modified_retention
   


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