getsentry / getsentry/sentry

Alert Slack notifications sent out of order (Resolved arrives before Critical/Warning)

Open
#122,790 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Product Area: Alerts
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 23m
Merged PRs (30d)
607

Description

Environment

SaaS (https://sentry.io/)

Steps to Reproduce
  1. Configure an Alert with Critical, Warning, and Resolved thresholds
  2. Trigger the alert so that it passes through warning/critical states and quickly resolves
  3. Observe the order of notifications delivered to the Slack channel and thread
Expected Result
  • The initial alert state (e.g., Warning or Critical) should post first as the main channel notification or top-level message.
  • Subsequent state transitions (e.g., transitions between Critical/Warning and the final "Resolved" status) should follow chronologically as replies within the thread
Actual Result
  • Resolved state triggers the Alert notification in Slack first. Then, Warning and Critical states appear inside the Resolved thread
Product Area

Alerts

Link

No response

DSN

No response

Version

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the alert in the SaaS environment with Critical, Warning, and Resolved thresholds, then inspect the Slack channel and thread delivery sequence. The fix is complete when the initial Warning or Critical notification is the top-level message and later state transitions, including Resolved, appear chronologically as thread replies.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.