Skip to content

ref(discover): Remove obsolete saved-query dataset splitter - #129853

Merged
jamieQ merged 3 commits into
masterfrom
ref/remove-saved-query-splitter
Nov 9, 2026
Merged

jamieQ merged 3 commits into
masterfrom
ref/remove-saved-query-splitter

Conversation

@jamieQ

@jamieQ jamieQ commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Remove _get_and_save_split_decision_for_query, its exclusive helpers, and tests. Added in #76201 (2024-08-29) to classify saved Discover queries as errors or transactions. Its final caller, self-hosted migration 0894, was deleted in #92047 (2025-05-21), after the SaaS job was retired in getsentry#17340.

Older self-hosted installations must upgrade to 25.5.1 before moving to newer releases. That version includes this function and runs the saved-query migration, so removing the function from current releases preserves the supported upgrade path.

Remove the saved-query splitter and exclusive helpers and tests after migration 0894 was deleted.
The 25.5.1 hard stop preserves the historical upgrade path; shared dashboard helpers remain.
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 4, 2026
@jamieQ
jamieQ marked this pull request as ready for review November 4, 2026 15:00
@jamieQ
jamieQ requested a review from a team as a code owner November 4, 2026 15:00

@wmak wmak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If you're confident that self-hosted doesn't need this anymore should be safe to burn 🔥

@shruthilayaj shruthilayaj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks for cleaning this up, it's safe since we'd cut a hard stop migration!

@jamieQ
jamieQ merged commit 0933fdd into master Nov 9, 2026
70 checks passed
@jamieQ
jamieQ deleted the ref/remove-saved-query-splitter branch November 9, 2026 23:28

This branch was successfully deployed

1 active deployment
Preview — 85e00ddc Deployed Nov 9, 2026 by vercel[bot]
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.

3 participants