zqr10159 opened a new pull request, #4283:
URL: https://github.com/apache/hertzbeat/pull/4283

   ## Summary
   
   - serialize alert label maps as sorted, length-prefixed key/value pairs
   - use the existing SHA-256 utility for the resulting fingerprint
   - add deterministic contracts for label association and map iteration order
   
   ## Validation
   
   - `./mvnw -pl hertzbeat-alerter -am 
-Dtest=AlertUtilTest,AlarmCacheManagerTest,CollectorAlertHandlerTest test 
-DskipITs -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false`
   - `git diff --cached --check`
   
   AI assistance: used for draft implementation and test iteration.
   Human validation: the focused Maven reactor completed successfully; 9 alert 
fingerprint and cache tests passed and Checkstyle reported no violations.
   Risk notes: the fingerprint representation changes for existing alerts, so 
an active alert can receive a new fingerprint on its first evaluation after 
upgrade.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to