You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "zjncs (via GitHub)" <gi...@apache.org> on 2026/10/14 05:05:48 UTC
[PR] test(model): pin the alert severity vocabulary [rocketmq-dashboard]
zjncs opened a new pull request, #6640:
URL: https://github.com/apache/rocketmq-dashboard/pull/6640
### What
AlertLevel is the severity a system alert is raised with: error, warning and info. It had no test. The alert badges and the notification templates key on these exact (lower-case) names, so this pins the three-constant vocabulary - a renamed, re-cased or dropped constant would silently strip severity from every alert.
### Verification
- New tests on unmodified code: **1/1 green**, checkstyle clean.
- Regression only (enum vocabulary).
- Restored: green. Test-only change; no product code touched.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org