Skip to content

Alert routes: post a firing alarm once, with an optional daily reminder - #323

Merged
nambok merged 1 commit into
mainfrom
alert-repeat-setting
Nov 6, 2026
Merged

nambok merged 1 commit into
mainfrom
alert-repeat-setting

Conversation

@nambok

@nambok nambok commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Alert routes get a repeat setting so an alarm that keeps firing (or flaps between OK and ALARM) posts once instead of every time. The platform side is in the matching coderhelm-platform PR.

Changes

  • Route editor: new "When an alarm keeps firing" section: Every time it fires (default, and what routes saved before the setting show), Once, until it clears, Once, then a daily reminder, each with plain help text. An "Alarms with their own setting" list overrides the route per CloudWatch alarm by name.
  • Route card meta shows the setting and how many alarms have their own. Pausing a route sends the setting back unchanged.
  • Recent alerts (settings page) and the Alerts history page fold an episode's firings into one row: "Fired 5 times: 1 posted, 1 reminder, 2 held back", with each firing listed under it. Recoveries stay their own rows.
  • New outcomes: held back (suppressed), daily reminder (reminded), OK waiting to clear (clearing).
  • Alert detail links a held repeat to the alarm that opened its episode.
  • Docs: "Alarms that keep firing" under AWS accounts.

Verification

  • npm run lint, npm run typecheck, npm run check:openapi, npm run build: pass.
  • Playwright e2e/integrations.spec.ts and e2e/audit-alerts.spec.ts (alert tests, 25): pass, including new tests for an old route saving as every time, saving the setting and an alarm override (and keeping them on pause), and episode grouping with a count. Screenshots checked at 1280 and 375 px.

Route editor gets 'When an alarm keeps firing' (every time, the default;
once until it clears; once then a daily reminder) and per-alarm overrides.
Alert history folds an episode's firings into one row with a count, and
the alert page links a held repeat to the alarm that posted. Docs updated.
@nambok
nambok merged commit f4ebcbd into main Nov 6, 2026
10 checks passed
@nambok
nambok deleted the alert-repeat-setting branch November 6, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant