yyqdbngt opened a new pull request, #3438: URL: https://github.com/apache/rocketmq-dashboard/pull/3438
### Summary `AlertFingerprint.of` hashes rule id, instance id and sorted labels with separator escaping. The suite covered label-order stability and newline/equals collisions but not the other input dimensions. ### Changes - Different rule ids and instance ids yield different fingerprints for identical labels - `null` instance id and `null` labels are tolerated and deterministic (64 hex chars) - A backslash inside a value cannot collide with an escaped newline boundary ### Testing `mvn test -Dtest=AlertFingerprintTest` passes: 5 tests, 0 failures (up from 2). -- 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]
