Skip to content

feat(routing): Allow PREPROD item type to fetch tier1 for 90 days#7768

Merged
phacops merged 1 commit intomasterfrom
feat/preprod-tier1-full-retention
Feb 25, 2026
Merged

feat(routing): Allow PREPROD item type to fetch tier1 for 90 days#7768
phacops merged 1 commit intomasterfrom
feat/preprod-tier1-full-retention

Conversation

@phacops
Copy link
Contributor

@phacops phacops commented Feb 25, 2026

Add TRACE_ITEM_TYPE_PREPROD to ITEM_TYPE_FULL_RETENTION so it is exempt from long-term retention downsampling. This ensures PREPROD queries always route to tier1 within their 90-day retention window, rather than being downsampled to tier8 for data older than 31 days.

The PREPROD item type is already excluded from outcomes-based downsampling (it's not in ITEM_TYPE_TO_OUTCOME_CATEGORY), so this was the only remaining path that could route it away from tier1.

Agent transcript: https://claudescope.sentry.dev/share/KseyCci2vK50dDGzLgJnKeZfUq8nkJ494FH--79Bj4k

Add TRACE_ITEM_TYPE_PREPROD to ITEM_TYPE_FULL_RETENTION so it is
exempt from long-term retention downsampling. This ensures PREPROD
queries always route to tier1 within their 90-day retention window.

Co-Authored-By: Claude <noreply@anthropic.com>

Agent transcript: https://claudescope.sentry.dev/share/paMyshEhb19PU2v5_-9YOHYZAycpE2Fq8BSHSGqPI_Y
@phacops phacops marked this pull request as ready for review February 25, 2026 00:03
@phacops phacops requested review from a team as code owners February 25, 2026 00:03
@phacops phacops enabled auto-merge (squash) February 25, 2026 00:19
@phacops phacops merged commit 3e22f0e into master Feb 25, 2026
47 of 52 checks passed
@phacops phacops deleted the feat/preprod-tier1-full-retention branch February 25, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants