Skip to content

[MSD benchmark] fix(ecosystem): Breaks issue sync cycles#3

Open
khaliqgant wants to merge 8 commits into
msd-benchmark-base/sentry/pr-77754from
msd-benchmark/sentry/pr-77754
Open

[MSD benchmark] fix(ecosystem): Breaks issue sync cycles#3
khaliqgant wants to merge 8 commits into
msd-benchmark-base/sentry/pr-77754from
msd-benchmark/sentry/pr-77754

Conversation

@khaliqgant

Copy link
Copy Markdown

MSD benchmark PR recreated from Martian Code Review Bench.

Source PR: getsentry#77754
Dataset: sentry
Original title: fix(ecosystem): Breaks issue sync cycles

The problem:

When a Jira issue's assignee field is quickly modified multiple times in a row, we end up assigning and resyncing the assignees to Jira, which causes a loop. This is because all inbound integration webhooks that modify an issue assignment generate an outbound update for all issue sync integrations as well.

Solution:

This PR adds a new AssignmentSource dataclass, which acts as a context carrier when an external webhook triggers an issue assignment change. This is then checked on the outbound sync logic, preventing the change from being propagated to the same integration that initially triggered the change.

@khaliqgant khaliqgant changed the base branch from master to msd-benchmark-base/sentry/pr-77754 May 15, 2026 14:58
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