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

Head commit for run:
c29b76b65acaa15b22ec23cc04683103d447041c / unbridled-41 
<[email protected]>
fix(alerts): create a rule enabled since the dialog offers no enable control

The create payload was built from the form values, and the form has no
`enabled` item. AlertRuleRequestDTO models it as a primitive boolean
(`private boolean enabled;`), so an absent field deserialises to false and
MybatisPlusAlertRepository writes enabled = 0 - the column's DEFAULT 1 is
never reached. The dialog shows no switch, the toast only says "rule
created", and the new rule never evaluates: a silently dead monitoring rule.

The surrounding signals all point the other way: the mock service returns
enabled: true for a new rule and the import path preserves the file's value.

Send enabled: true for created rules. The edit path is untouched - it spreads
the existing rule first, so toggling still wins.

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

With regards,
GitHub Actions via GitBox

Reply via email to