Skip to content

alerting: strike through resolved infra alerts instead of appending a banner - #141

Merged
Thangnguyenvn98 merged 1 commit into
mainfrom
agent/infra-resolve-strikethrough
Sep 4, 2026
Merged

Thangnguyenvn98 merged 1 commit into
mainfrom
agent/infra-resolve-strikethrough

Conversation

@Thangnguyenvn98

Copy link
Copy Markdown
Collaborator

What changes

Follow-up to #140 with the resolved-message look we want: when an infra episode resolves, the bot's open alert is edited into:

✅ 🚨 Infra alert — host h200-ci-1 stopped reporting … (edited)

— original text struck through, ✅ prefix, (edited) suffix. The previous composition (original + appended resolve banner) is gone; that also removes the confusing case where the banner quoted the episode's opening threshold rather than the current one.

Tests

  • test_outbox.py: pairing asserts the exact struck-through payload
  • test_infra.py: resolve assertions now check the ✅/…/(edited) shape
  • pytest alerting 202 passed, ruff clean

Deploy

Worker picks this up on the next install.sh from main. Only affects how resolves render.

Signed-off-by: Thang Nguyen thang.nguyen@inferact.ai

… banner

The edited message now reads as a checkmark-prefixed, struck-through
copy of the original alert ending in '(edited)' — the channel reads as
handled at a glance and the stale-threshold confusion from rendering
the resolve banner against the episode's opening threshold disappears.

Signed-off-by: Thang Nguyen <thang.nguyen@inferact.ai>
@vercel

vercel Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
vllm-ci-dashboard Ready Ready Preview Sep 4, 2026 1:21am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 9acd3df5 Deployed Sep 4, 2026 by vercel[bot]
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