The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix/alert-native-threshold-unit has failed.
Run started by GitHub user unbridled-41 (triggered by unbridled-41).

Head commit for run:
cb7025254afd9488695a71b1bc79bbf9b5914cef / unbridled-41 
<[email protected]>
fix(alerts): keep the threshold unit of a native metric rule

The rule form resolves the threshold unit while the metric is picked - the
native catalog supplies messages/seconds and the ratio metrics carry '%' - but
attachThresholdUnit re-derived it from a map that only knows the five built-in
metric names. Saving a native-metric rule therefore stored thresholdUnit = '',
so the rule list rendered "> 12000" with no unit and a notification template's
${thresholdUnit} expanded to nothing.

Prefer the form's unit and keep the map authoritative for the names it knows,
so a stale unit from another metric pick still cannot survive.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/37094258440

With regards,
GitHub Actions via GitBox

Reply via email to