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

   ### Motivation
   
   The existing `AlertFingerprintTest` covers label-order stability and 
separator escaping, but null instance/labels handling, the rule-id 
participation and backslash identity were untested.
   
   ### Changes
   
   - `nullInstanceAndNullLabelsAreHandledDeterministically`: a null instance id 
and null labels hash deterministically, with null labels equivalent to an empty 
label map and a 64-char digest.
   - `ruleIdParticipatesInTheFingerprint`: different rule ids over the same 
labels produce different fingerprints.
   - `backslashesInLabelsArePartOfTheIdentity`: a backslash inside a label 
value is part of the identity rather than being collapsed.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=AlertFingerprintTest
   [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
   [INFO] BUILD SUCCESS
   ```


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