GLM-5.3 Flash · Heavy

feat-ecosystem-implement-cross-system-issue-synchronization-sentry

Sentry · Python · M · 100–299 lines · 5 files

The generalist plus 9 specialist lens agents in parallel, then the same verify and dedup steps. Judge: Claude Opus 5.5.

Gold bugs found
0 of 1
Comments published
2
Comments matching a bug
0
Comments not matching
2
Cost of this PR
$0.137

Published comments (2)

highbugsrc/sentry/integrations/utils/sync.py:135-144

AssignmentSource dict with datetime `queued` breaks Celery enqueue and round-trip — The raw datetime in `queued` isn't JSON-serializable, so enqueueing fails; over a JSON hop, `from_dict` swallows the `TypeError` and returns None, silently dropping the source so the inbound assignment syncs back to the same integration — the cycle this PR prevents. Serialize `queued` in `to_dict` and parse it in `from_dict`.

mediumbugsrc/sentry/integrations/services/assignment_source.py:14-18

AssignmentSource.queued defaults to import-time timestamp, not construction time — Every `AssignmentSource` gets the same stale timestamp from module import instead of its actual queue time, corrupting `queued` for all consumers, including `to_dict` payloads sent to the sync task. Use `field(default_factory=timezone.now)` instead of a bare default.

Gold bugs found (0)

None.

Gold bugs missed (1)

mediumshould_sync suppresses outbound assignee sync for every external issue that belongs to the originating integration, not just the issue the change came from. If a group links Jira issues A and B in the same integration, an inbound assignment from A never reaches B, so B's assignee goes stale.