getsentry / getsentry/sentry

Cron issues not triggering issue webhooks

Open
#98,048 4 comments 0 reactions 0 assignees View on GitHub
Crons Feature Product Area: Settings - Integrations
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Environment

SaaS (https://sentry.io/)

### Steps to Reproduce

1. Create an internal integration
2. Add a webhook endpoint
3. Enable "Issue" webhook for "created, resolved, assigned, archived, unresolved"
4. Create a cron monitor alert
5. Trigger a failure in the cron monitor

### Expected Result

Sentry sends a "Issue created" webhook request to the defined in the internal integration.

The webhook documentation does not mention limitations on which kind of issues can trigger webhooks, thus it is expected that all issues can trigger webhooks.

### Actual Result

No webhook is sent.

Scenarios where no webhook request is sent:
1. Cron monitor issue creation
2. Cron monitor issue auto-resolve by new OK check-in

Scenarios where a webhook request is sent:
1. Cron monitor issue automatically assigned
2. Cron monitor issue manually resolved

### Product Area

Settings - Integrations

### Link

_No response_

### DSN

_No response_

### Version

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names no source files, tests, or entry points; begin by reproducing the internal-integration flow for cron monitor issue creation and auto-resolution. Trace the Issue webhook dispatch path and existing coverage; done means both events send the expected webhook while assignment and manual resolution continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.