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

   ## Summary
   
   Extends the existing `AlertRuleSemanticFingerprintTest` (3 to 5 tests) to 
pin down the semantic-identity contract.
   
   Added cases:
   - changing the metric or the operator changes the fingerprint;
   - cosmetic fields (name, description, severity, enabled, channels) do not 
change the fingerprint when the evaluation core is identical.
   
   ## Why
   
   The fingerprint deduplicates alert rules on import; only 
scope/window/ratio-threshold effects were covered before.
   
   ## Testing
   
   `mvn -B test -Dtest=AlertRuleSemanticFingerprintTest` — 5/5 pass; checkstyle 
(validate) 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