Alerts: keep one order; show the server's message on errors #47

Merged
jcoffey-dev merged 1 commits from fix/alerts-stable-order into main 2026-11-16 05:32:48 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev f1a4002e8d Alerts: keep one order; show the server's message on errors
ci / check (pull_request) Successful in 4m46s
ci / postgres (pull_request) Successful in 9m42s
Incidents that open in the same evaluation tied on their open time and
fell back to map order, so the list reshuffled every refresh and a click
on Acknowledge could land on another row. Ties now break on the id.

The web client's errors carry obs-beacond's own message, so a demo visitor
reads "This is the demo: it shows everything and changes nothing." rather
than "Error: /api/v1/incidents/B-0003/ack: 403".

Closes #32, closes #36.
2026-11-15 22:22:33 -07:00