Skip to content

reorder endpoints

63ad438
Select commit
Loading
Failed to load commit list.
Merged

feat(seer): Add Seer project connected repo endpoint #115199

reorder endpoints
63ad438
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: sentry-backend-bugs completed May 20, 2026 in 4m 22s

1 issue

sentry-backend-bugs: Found 1 issue (1 high)

High

IntegrityError in replace_all_seer_project_repos when repos_data contains duplicate repository_id values - `src/sentry/seer/autofix/utils.py:955-960`

If a PUT request includes the same repositoryId twice, the second SeerProjectRepository.objects.create() call will hit the unique=True constraint on project_repository, raising an unhandled IntegrityError and returning a 500.


⏱ 4m 6s · 824.7k in / 26.8k out · $1.11

Annotations

Check failure on line 960 in src/sentry/seer/autofix/utils.py

See this annotation in the file changed.

@sentry-warden sentry-warden / warden: sentry-backend-bugs

IntegrityError in replace_all_seer_project_repos when repos_data contains duplicate repository_id values

If a PUT request includes the same `repositoryId` twice, the second `SeerProjectRepository.objects.create()` call will hit the `unique=True` constraint on `project_repository`, raising an unhandled `IntegrityError` and returning a 500.