Skip to content

[DO NOT MERGE] test: Validate MOVE_TO_PENDING historical_silo_assignments check#115091

Closed
wedamija wants to merge 1 commit intodanf/move-to-pending-historical-silo-checkfrom
danf/test-move-to-pending-check
Closed

[DO NOT MERGE] test: Validate MOVE_TO_PENDING historical_silo_assignments check#115091
wedamija wants to merge 1 commit intodanf/move-to-pending-historical-silo-checkfrom
danf/test-move-to-pending-check

Conversation

@wedamija
Copy link
Copy Markdown
Member

@wedamija wedamija commented May 7, 2026

Validation test for #115087.

Removes GroupCommitResolution and ships a MOVE_TO_PENDING migration without adding sentry_groupcommitresolution to historical_silo_assignments. With #115087's check in place, CI is expected to fail during the migration replay step with:

Cannot determine database for deleted model sentry.GroupCommitResolution (table: sentry_groupcommitresolution). This table must be added to historical_silo_assignments...

If CI fails for this reason, the check works. DO NOT MERGE.

Test PR for #115087 — removes GroupCommitResolution and adds a
MOVE_TO_PENDING migration without adding sentry_groupcommitresolution
to historical_silo_assignments. Expected to fail CI at the migration
replay step with "Cannot determine database for deleted model
sentry.GroupCommitResolution".

DO NOT MERGE.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 7, 2026
@wedamija wedamija changed the base branch from master to danf/move-to-pending-historical-silo-check May 7, 2026 17:55
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

This PR has a migration; here is the generated SQL for src/sentry/migrations/1085_remove_groupcommitresolution.py

for 1085_remove_groupcommitresolution in sentry

--
-- Moved model GroupCommitResolution to pending deletion state
--
-- (no-op)

@wedamija wedamija closed this May 7, 2026
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