Skip to content

fix(autofix): Dual-delete Seer preferences for disabled repositories#112503

Merged
srest2021 merged 10 commits intomasterfrom
srest2021/dual-delete-disable-repo
Apr 8, 2026
Merged

fix(autofix): Dual-delete Seer preferences for disabled repositories#112503
srest2021 merged 10 commits intomasterfrom
srest2021/dual-delete-disable-repo

Conversation

@srest2021
Copy link
Copy Markdown
Member

@srest2021 srest2021 commented Apr 8, 2026

Remove SeerProjectRepository rows and call /v1/project-preference/bulk-remove-repositories Seer endpoint for disabled repositories. This covers more of Seer's deletion task cleanup_stale_seer_preferences_task, as part of the migration of Seer settings from Seer to Sentry (spec).

@srest2021 srest2021 changed the title fix(autofix): Remove SeerProjectRepository rows for disabled repositories fix(autofix): Dual-delete Seer preferences for disabled repositories Apr 8, 2026
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Backend Test Failures

Failures on d99cb0c in this run:

tests/sentry/integrations/github/test_webhook.py::InstallationRepositoriesEventWebhookTest::test_end_to_end_repos_removedlog
[gw1] linux -- Python 3.13.1 /home/runner/work/sentry/sentry/.venv/bin/python3
tests/sentry/integrations/github/test_webhook.py:495: in test_end_to_end_repos_removed
    assert response.status_code == 204
E   assert 500 == 204
E    +  where 500 = <Response status_code=500, "application/json">.status_code

@srest2021 srest2021 marked this pull request as ready for review April 8, 2026 19:51
@srest2021 srest2021 requested review from a team as code owners April 8, 2026 19:51
@srest2021 srest2021 requested a review from JoshFerge April 8, 2026 21:02
Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a441f3d. Configure here.

@srest2021 srest2021 merged commit 3432173 into master Apr 8, 2026
57 checks passed
@srest2021 srest2021 deleted the srest2021/dual-delete-disable-repo branch April 8, 2026 22:40
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.

2 participants