Skip to content

alerting: strike resolved alerts line-by-line, drop our '(edited)' suffix - #142

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

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

Conversation

@Thangnguyenvn98

Copy link
Copy Markdown
Collaborator

What changes

Two rendering bugs found in the live test of #141:

  1. No strikethrough rendered — Slack mrkdwn ~…~ does not span line breaks, so a multi-line alert showed literal tildes. Now each line is wrapped individually.
  2. Duplicate (edited) — Slack appends its own (edited) marker to updated messages; ours was redundant. Dropped.

Resulting edit: :white_check_mark: + the original alert with each line struck through — Slack adds (edited) itself.

Tests

  • The pairing test now uses a multi-line alert text and asserts the exact per-line struck-through payload (this is the regression guard for bug 1)
  • Episode tests assert the ✅/… shape and the absence of our own (edited) suffix
  • pytest alerting 202 passed, ruff clean

Deploy

Worker picks this up on the next install.sh from main.

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

…ffix

Two rendering bugs from the live test: Slack mrkdwn strikethrough does
not span line breaks (multi-line alerts showed literal tildes), and
Slack appends its own '(edited)' marker to updated messages so ours
duplicated it. The composed update is now ':white_check_mark: ' plus
the original text with each line wrapped in ~...~.

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:55am UTC

Request Review

@Thangnguyenvn98
Thangnguyenvn98 merged commit b01e5d2 into main Sep 4, 2026
3 of 4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 43f85147 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