The GitHub Actions job "CI" on rocketmq-dashboard.git/fix/btl-mock-dup-rule has failed. Run started by GitHub user btlqql (triggered by btlqql).
Head commit for run: afaa82238ce177d121a137cfd2470fc5b6b950dd / btlqql <[email protected]> fix(web): reject semantically duplicate alert rules in mock mode (#7078) The mock alert-rule store accepted a second rule whose evaluation fields (domain, instance, metric, operator, threshold and threshold unit, duration, aggregation, window, group, topic, consecutive samples) matched an existing rule, so Mock mode reported success where the REST service answers 409 "An alert rule with the same evaluation conditions already exists: <name>". Port the server's AlertRuleSemanticFingerprint normalization (trim, upper-case operator/aggregation, lower-case duration, "%" to fraction for ratio metrics, defaults for aggregation/window/consecutive samples) into the mock create path and reject a matching rule with the same message. The display name is not part of the fingerprint, so renaming a rule no longer hides the conflict. Two existing mock tests created rules with identical (empty) evaluation fields and would now collide, so they set distinct metrics; their assertions are unchanged. Report URL: https://github.com/apache/rocketmq-dashboard/actions/runs/39283658482 With regards, GitHub Actions via GitBox
