Skip to content

Conversation

iamrajjoshi
Copy link
Collaborator

Summary

  • Implement inbound status synchronization from GitHub issues to Sentry
  • Automatically resolve Sentry issues when linked GitHub issues are closed
  • Automatically unresolve Sentry issues when linked GitHub issues are reopened

Changes

  • Gated by organizations:integrations-github-inbound-status-sync feature flag to control the rollout
  • Added configuration options for status sync and resolution strategy in organization settings

Webhook Processing

  • Refactored IssuesEventWebhook to separate assignment and status change handling
  • Added support for processing issue close/reopen events across multiple organizations

Configuration

  • Added sync_status_reverse toggle to enable/disable inbound status sync
  • Added resolution_strategy selector with options:
    • Resolve
    • Resolve in Current Release
    • Resolve in Next Release

Demo

Configuring Feature
image

Demo

Screen.Recording.2025-10-11.at.5.15.32.PM.mov

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@iamrajjoshi iamrajjoshi self-assigned this Oct 12, 2025
@iamrajjoshi iamrajjoshi requested a review from a team as a code owner October 12, 2025 00:17
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 12, 2025
cursor[bot]

This comment was marked as outdated.

Copy link

codecov bot commented Oct 12, 2025

Codecov Report

❌ Patch coverage is 79.59184% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/sentry/integrations/github/integration.py 50.00% 6 Missing ⚠️
src/sentry/integrations/github/webhook.py 88.88% 4 Missing ⚠️
Additional details and impacted files
@@                           Coverage Diff                            @@
##           raj/gh-feat-par/outbound-assgn-sync   #101397      +/-   ##
========================================================================
- Coverage                                81.03%    81.03%   -0.01%     
========================================================================
  Files                                     8692      8692              
  Lines                                   385560    385596      +36     
  Branches                                 24360     24360              
========================================================================
+ Hits                                    312446    312462      +16     
- Misses                                   72749     72769      +20     
  Partials                                   365       365              

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.

1 participant