Skip to content

fix(incidents): Skip paging and on-call invites for private incidents#252

Merged
rgibert merged 2 commits into
mainfrom
rgibert/skip-paging-private-incidents
Jun 11, 2026
Merged

fix(incidents): Skip paging and on-call invites for private incidents#252
rgibert merged 2 commits into
mainfrom
rgibert/skip-paging-private-incidents

Conversation

@rgibert

@rgibert rgibert commented Jun 10, 2026

Copy link
Copy Markdown
Member

Private incidents previously paged IMOC and invited IMOC on-call users to the Slack channel. This changes both page_for_channel and _invite_oncall_to_channel to return early when is_private=True, so private incidents trigger no PagerDuty pages and no on-call user invitations at all.

The rationale is that private incidents should be fully contained -- only the creator and explicitly added participants should be aware of them.

This also simplifies the code by removing the conditional policy filtering (policies_to_page/policies_to_invite dicts) and the "Private Incident" title masking, since neither function proceeds past the early return for private incidents.
0

Resolves RELENG-829

Agent transcript: https://claudescope.sentry.dev/share/qsIWVQpzXBWCvgFuxekwvsr7zSfwgYS5xraF9KBrBZk

rgibert added 2 commits June 10, 2026 09:53
Private incidents previously paged IMOC and invited IMOC on-call users
to the Slack channel. They now skip all PagerDuty paging and on-call
invitations entirely, keeping private incidents fully contained to
their creator and explicitly added participants.

Co-Authored-By: Claude <noreply@anthropic.com>

Agent transcript: https://claudescope.sentry.dev/share/KI4U9WHWjxRHLxRxvnHGIqjR31Hovh0-f6Ps1pFX-1w
@rgibert rgibert marked this pull request as ready for review June 10, 2026 14:00
@rgibert rgibert requested a review from a team as a code owner June 10, 2026 14:00
@linear-code

linear-code Bot commented Jun 10, 2026

Copy link
Copy Markdown

RELENG-829

@rgibert rgibert self-assigned this Jun 10, 2026
@rgibert rgibert merged commit 5ae1389 into main Jun 11, 2026
31 checks passed
@rgibert rgibert deleted the rgibert/skip-paging-private-incidents branch June 11, 2026 16:07
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.

2 participants