Repository navigation
chore(releases): drop the release new_id column - #127461
Merged
Merged
Conversation
Contributor
|
This PR has a migration; here is the generated SQL for for --
-- Remove field new_id from release
--
ALTER TABLE "sentry_release" DROP COLUMN "new_id" CASCADE; |
markstory
approved these changes
Oct 15, 2026
ldelvoye
force-pushed
the
ldelvoye/chore/drop-release-new-id
branch
from
October 15, 2026 17:04
fbfe0b1 to
5aa5bd1
Compare
Contributor
|
This PR has a migration; here is the generated SQL for for --
-- Remove field new_id from release
--
ALTER TABLE "sentry_release" DROP COLUMN "new_id" CASCADE; |
ldelvoye
added a commit
that referenced
this pull request
Nov 10, 2026
resolves INFRENG-784 Drops the old int4 `new_release_id` column from `sentry_grouprelease`, the last step of widening `release_id` to int8. 1253 (#130158) moved it to pending and has finished deploying everywhere, so its swap guard has passed in every region. It also deletes the 1252 and 1253 migration tests. Both migrate back to 1251, and reversing this drop re-adds the column with a new attnum, so 1252's unswap guard sees the table as already unswapped and does nothing. #127461 removed the release swap test for the same reason.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves INFRENG-673
Drops the old int4
new_idcolumn fromsentry_release, the last step of wideningrelease.idto int8. 1211 already moved it to pending, so nothing in the app reads or writes it. Please hold the merge until #127438 has finished deploying everywhere.