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
Owner

Ties on open time now break on the incident id, so the open list stops reshuffling every refresh (Acknowledge could land on another row). The web client shows obs-beacond's own error message, so the demo says it changes nothing instead of printing a raw 403.

Closes #32, closes #36.

Ties on open time now break on the incident id, so the open list stops reshuffling every refresh (Acknowledge could land on another row). The web client shows obs-beacond's own error message, so the demo says it changes nothing instead of printing a raw 403. Closes #32, closes #36.
jcoffey-dev added 1 commit 2026-11-16 05:22:44 +00:00
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
f1a4002e8d
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.
jcoffey-dev merged commit c88c7bfe7c into main 2026-11-16 05:32:48 +00:00
jcoffey-dev deleted branch fix/alerts-stable-order 2026-11-16 05:32:48 +00:00
Sign in to join this conversation.