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

   ### Which Issue(s) This PR Fixes
   
   Fixes #4326
   
   ### Brief Description
   
   Alert rule updates and enable/disable operations previously deleted stored 
evaluation state unconditionally. Presentation or delivery-only changes could 
therefore erase a FIRING/PENDING episode and its ACK state.
   
   This change aligns state invalidation with the existing 
`AlertRuleSemanticFingerprint`: semantic evaluation changes reset state, while 
renaming, severity/channel changes, and single or bulk enable/disable 
operations preserve it. Rule deletion still removes stored state.
   
   ### How Did You Test This Change?
   
   Amazon Corretto JDK 21.0.12 + Apache Maven 3.9.16:
   
   `mvn -B -ntp -Dtest=AlertServiceTest,AlertRuleSemanticFingerprintTest test`
   
   Result: **87 tests, 0 failures, 0 errors, 0 skipped; BUILD SUCCESS.** 
Checkstyle reported **0 violations**. `git diff --check` is 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