fix(prometheus): word the template audit actions; keep the list verdict's apostrophe out of an autoescaped expression (#5692)
CI / lint (push) Successful in 1s
CI / integration (push) Successful in 1m15s
CI / unit (push) Successful in 1m27s
CI / publish (push) Successful in 1m5s

Run 9093: test_every_logged_action_is_worded wanted the three
prometheus.template_* actions in ACTIONS, and the list's verdict wrote
"doesn't" as a Jinja string literal, which autoescape turns into '.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-14 09:24:34 -04:00
co-authored by Claude Opus 5.5
parent bd762307e0
commit e42fde89f5
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -190,6 +190,9 @@ ACTIONS = {
"prometheus.target_created": "added Prometheus target",
"prometheus.target_updated": "changed Prometheus target",
"prometheus.target_deleted": "deleted Prometheus target",
"prometheus.template_created": "added Prometheus widget template",
"prometheus.template_updated": "changed Prometheus widget template",
"prometheus.template_deleted": "deleted Prometheus widget template",
"backup.made": "sent a backup",
"backup.failed": "tried to send a backup, which failed:",
}