chore(code-review): Remove the deprecated prevent config v0#106993
Merged
suejung-sentry merged 5 commits intomasterfrom Jan 27, 2026
Merged
chore(code-review): Remove the deprecated prevent config v0#106993suejung-sentry merged 5 commits intomasterfrom
suejung-sentry merged 5 commits intomasterfrom
Conversation
Contributor
|
🚨 Warning: This pull request contains Frontend and Backend changes! It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently. Have questions? Please ask in the |
suejung-sentry
commented
Jan 26, 2026
| Model for managing configurations for Prevent AI features | ||
| per Sentry organization and integration. | ||
|
|
||
| DEPRECATED: This model is no longer used and will be removed in a future PR. |
Contributor
Author
This was referenced Jan 26, 2026
JoshFerge
approved these changes
Jan 26, 2026
suejung-sentry
pushed a commit
that referenced
this pull request
Jan 27, 2026
…107003) We don't need the `prevent_ai_configuration` table anymore, nor the whole app for "prevent". This is step 2 of 4 All cleanup PRs here: 1. Remove all references to the table - [link](#106993) 2. Move the table to Pending Delete - [link](https://github.com/getsentry/sentry/pull/107003/files) - THIS PR 3. Move the table to Delete - [link](https://github.com/getsentry/sentry/pull/107013/files) 4. Remove the "prevent" app - [link](https://github.com/getsentry/sentry/pull/107015/files) Relates to [CW-684](https://linear.app/getsentry/issue/CW-684/delete-old-prevent-configuration-table-and-related-code) --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
priscilawebdev
pushed a commit
that referenced
this pull request
Jan 28, 2026
…107003) We don't need the `prevent_ai_configuration` table anymore, nor the whole app for "prevent". This is step 2 of 4 All cleanup PRs here: 1. Remove all references to the table - [link](#106993) 2. Move the table to Pending Delete - [link](https://github.com/getsentry/sentry/pull/107003/files) - THIS PR 3. Move the table to Delete - [link](https://github.com/getsentry/sentry/pull/107013/files) 4. Remove the "prevent" app - [link](https://github.com/getsentry/sentry/pull/107015/files) Relates to [CW-684](https://linear.app/getsentry/issue/CW-684/delete-old-prevent-configuration-table-and-related-code) --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
suejung-sentry
pushed a commit
that referenced
this pull request
Jan 29, 2026
We don't need the prevent_ai_configuration table anymore, nor the whole app for "prevent". This is step 3 of 4 All cleanup PRs here: 1. Remove all references to the table - [link](#106993) 2. Move the table to Pending Delete - [link](https://github.com/getsentry/sentry/pull/107003/files) 3. Move the table to Delete - [link](https://github.com/getsentry/sentry/pull/107013/files) - THIS PR 4. Remove the "prevent" app - [link](https://github.com/getsentry/sentry/pull/107015/files) Closes [CW-684](https://linear.app/getsentry/issue/CW-684/delete-old-prevent-configuration-table-and-related-code) --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
priscilawebdev
pushed a commit
that referenced
this pull request
Feb 2, 2026
This v0 of the "prevent" configuration model is superseded by all the new stuff for code review GA that now lives in repo settings table. Delete these apis and in a subsequent PR delete the whole table too. Follows instructions [here](https://develop.sentry.dev/backend/application-domains/database-migrations/#deleting-tables) for table deletion All cleanup PRs here: 1. Remove all references to the table - [link](#106993) - THIS PR 2. Move the table to Pending Delete - [link](https://github.com/getsentry/sentry/pull/107003/files) 3. Move the table to Delete - [link](https://github.com/getsentry/sentry/pull/107013/files) 4. Remove the "prevent" app - [link](https://github.com/getsentry/sentry/pull/107015/files) Relates to [CW-684](https://linear.app/getsentry/issue/CW-684/delete-old-prevent-configuration-table-and-related-code) --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
priscilawebdev
pushed a commit
that referenced
this pull request
Feb 2, 2026
…107003) We don't need the `prevent_ai_configuration` table anymore, nor the whole app for "prevent". This is step 2 of 4 All cleanup PRs here: 1. Remove all references to the table - [link](#106993) 2. Move the table to Pending Delete - [link](https://github.com/getsentry/sentry/pull/107003/files) - THIS PR 3. Move the table to Delete - [link](https://github.com/getsentry/sentry/pull/107013/files) 4. Remove the "prevent" app - [link](https://github.com/getsentry/sentry/pull/107015/files) Relates to [CW-684](https://linear.app/getsentry/issue/CW-684/delete-old-prevent-configuration-table-and-related-code) --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
priscilawebdev
pushed a commit
that referenced
this pull request
Feb 2, 2026
We don't need the prevent_ai_configuration table anymore, nor the whole app for "prevent". This is step 3 of 4 All cleanup PRs here: 1. Remove all references to the table - [link](#106993) 2. Move the table to Pending Delete - [link](https://github.com/getsentry/sentry/pull/107003/files) 3. Move the table to Delete - [link](https://github.com/getsentry/sentry/pull/107013/files) - THIS PR 4. Remove the "prevent" app - [link](https://github.com/getsentry/sentry/pull/107015/files) Closes [CW-684](https://linear.app/getsentry/issue/CW-684/delete-old-prevent-configuration-table-and-related-code) --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This v0 of the "prevent" configuration model is superseded by all the new stuff for code review GA that now lives in repo settings table.
Delete these apis and in a subsequent PR delete the whole table too.
Follows instructions here for table deletion
All cleanup PRs here:
Relates to CW-684