Claude Sonnet 5.5 · Heavy
notification-rule-processing-engine-grafana-codex
Grafana · Go · L · 300–799 lines · 6 files
The generalist plus 9 specialist lens agents in parallel, then the same verify and dedup steps. Judge: Claude Haiku 5.5.
- Gold bugs found
- 1 of 4
- Comments published
- 2
- Comments matching a bug
- 1
- Comments not matching
- 1
- Cost of this PR
- $2.566
Published comments (2)
Grafana recording rules lose Export, Pause and Restore abilities — Grafana recording rules are Grafana-managed but not alerting rules, so `isAlertingRule` strips their Export and Pause abilities in the list view, unlike the ruler-based hook. Use `prometheusRuleType.grafana.rule(rule)` for `ModifyExport`, `Pause` and `Restore`, and keep `isAlertingRule` only for `Silence`.
Duplicate ability enabled when rule is undefined (skipToken) for Grafana prom rules — With an undefined `rule` (the `skipToken` case), `Duplicate` stays enabled, and `AlertRuleMenu` ORs it with the ruler ability, so cloud and Mimir rules get a Duplicate item even when unsupported. Set `MaybeSupported` to `NotSupported` when `rule` is undefined. **Also found in:** - `public/app/features/alerting/unified/components/rule-viewer/AlertRuleMenu.tsx:89-92`