Repository navigation
feat(sentry-apps): Add Alerts webhook subscription to developer settings - #130570
Draft
sentry-junior[bot] wants to merge 3 commits into
Draft
sentry-junior[bot] wants to merge 3 commits into
sentry-junior[bot] wants to merge 3 commits into
Conversation
Show the alert resource and its alert.triggered event in the Sentry App webhook subscriptions, behind the sentry-app-alert-webhooks flag. It requires the Alerts permission, which matches the backend alerts:read requirement. Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
alert.triggered deliveries record a workflow subject. Label it Alert and link to the alert details page. Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
sentry-junior
Bot
force-pushed
the
feat/sentry-apps-alert-webhook-ui
branch
from
November 10, 2026 05:40
b5cea07 to
5039ccb
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #130569, which adds the backend
alert.triggeredwebhook. Merge that one first.This adds an Alerts row with a Triggered event to the webhook subscriptions on the Sentry App settings page.
sentry-app-alert-webhooksflag. Without it,SubscriptionBoxdoesn't render the row, which is howpreprod_artifactwas gated while it was flagged.alerts:read), matching the backend.Alertsis optional in thePermissionstype, so the no-access check now treats a missing Alerts value as no access. Otherwise the Alerts row would look enabled for apps that never set an Alerts permission.workflowsubject thatalert.triggeredrecords now shows as "Alert" and links to the alert details page.alert.triggeredon its own throughgranularWebhookEvents.Tests: new cases in
subscriptionBox.spec.tsx(row hidden or shown depending on the flag) and inresourceSubscriptions.spec.tsx(row disabled without the Alerts permission, enabled with Read). Typecheck and lint pass.Visual QA was done on a local devserver running this branch with the flag enabled in dev config.
['alert.triggered']and the stored scopes are['alerts:read'].alert.triggeredand onlyproject:readis rejected with a 400.alert.triggered.via @dcramer.
--
View Session [Sentry]