RockteMQ-AI commented on issue #2499: URL: https://github.com/apache/rocketmq-dashboard/issues/2499#issuecomment-5367877912
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The reported issue is valid. The alert expression parser in `AlertManagement.tsx` uses naive comma splitting and first-`=` parsing, which breaks PromQL matchers containing regex operators (`=~`, `!~`), commas inside quoted values, or escaped characters. This corrupts alert rule configurations when users edit them. **Root Cause:** No quote/escape-aware tokenizer; the parser does not understand PromQL selector syntax. **Impact:** Alert rules with complex matchers are silently corrupted on edit, potentially causing missed or misrouted alerts. **Severity:** high An automated fix proposal can be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by github-manager* -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
