Skip to content

chore(workflow-engine): Enable activity alerts for resolution#119359

Open
leeandher wants to merge 1 commit into
masterfrom
leanderrodrigues/iswf-2980-enable-em
Open

chore(workflow-engine): Enable activity alerts for resolution#119359
leeandher wants to merge 1 commit into
masterfrom
leanderrodrigues/iswf-2980-enable-em

Conversation

@leeandher

Copy link
Copy Markdown
Member

I have a bit of sneaking suspicion that because the default alert builder has "An issue is resolved" as a trigger, a lot of people have channels set up to receive these notifications that have been failing silently this whole time.

Since they'll be turned on now, I wanted to break out the enablement into its own PR from rendering in case we need to revert or something. The other PR had some unrelated refactors so this keeps it a bit simpler to revert-revert and review.

Also per the discussion on the last PR, I will changing all the NotificationData types to simplify them quite a bit as a part of a separate ticket: https://linear.app/getsentry/issue/ISWF-2996/refactor-away-from-model-references-in-notificationdata

@leeandher leeandher requested a review from a team July 9, 2026 22:19
@leeandher leeandher requested a review from a team as a code owner July 9, 2026 22:19
@linear-code

linear-code Bot commented Jul 9, 2026

Copy link
Copy Markdown

ISWF-2980

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 9, 2026

@saponifi3d saponifi3d left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - the feature flag recommendation is mostly a nice to have in case we want to roll back or slow the rollout to just sentry to confirm the experience first.

Comment on lines +23 to +26
ActivityType.SET_RESOLVED.value: NotificationSource.ACTIVITY_SET_RESOLVED,
ActivityType.SET_RESOLVED_IN_RELEASE.value: NotificationSource.ACTIVITY_SET_RESOLVED_IN_RELEASE,
ActivityType.SET_RESOLVED_BY_AGE.value: NotificationSource.ACTIVITY_SET_RESOLVED_BY_AGE,
ActivityType.SET_RESOLVED_IN_COMMIT.value: NotificationSource.ACTIVITY_SET_RESOLVED_IN_COMMIT,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since there's a little concern around functionality and possible duplication of notifications here, can we wrap adding these to the ACTIVITY_TYPE_TO_SOURCE with a feature flag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants