You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2026/09/09 05:22:03 UTC
[GH] (rocketmq-dashboard/fix/alert-operator-validation-1419): Workflow run "CI" failed!
The GitHub Actions job "CI" on rocketmq-dashboard.git/fix/alert-operator-validation-1419 has failed.
Run started by GitHub user tju-yxq (triggered by tju-yxq).
Head commit for run:
4943723cfb652b8f91bfa0c2dc4ae6a0471d09bf / Yxq <30...@tju.edu.cn>
[ISSUE #1419] Validate alert rule operator, metric, and duration fields
The alert rule operator, metric name, and duration fields were injected
directly into PromQL expressions without validation. Malformed values
could produce invalid PromQL that causes Prometheus rule loading to
fail. This fix:
- Validates operator against a whitelist of valid comparison operators
- Validates metric name against Prometheus metric name pattern
- Validates duration against Prometheus duration format
- Falls back to safe defaults for invalid values
Fixes #1419
Report URL: https://github.com/apache/rocketmq-dashboard/actions/runs/31358177819
With regards,
GitHub Actions via GitBox