From dc796daba907825649c7e54ebdedb74ce44b4c71 Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 21:38:56 +0000 Subject: [PATCH] fix(eap): Add preprod item type to EAP items deletion config Add 'preprod' to the allowed_attributes_by_item_type in the EAP items storage deletion settings, with 'sentry.trace_id' as its allowed attribute. This mirrors the existing 'occurrence' entry and enables Snuba's EndpointDeleteTraceItems RPC to handle deletion requests for the preprod trace item type. Without this, deleting a preprod artifact from sentry triggers a 500 from Snuba: 'No attribute-based deletions configured for item_type preprod (value: 11). Configured item types: [occurrence]' Fixes SENTRY-5GX0 (https://sentry.sentry.io/issues/7191210706/) --- .../events_analytics_platform/storages/eap_items.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snuba/datasets/configuration/events_analytics_platform/storages/eap_items.yaml b/snuba/datasets/configuration/events_analytics_platform/storages/eap_items.yaml index 7eda523b74..56c20ecbd8 100644 --- a/snuba/datasets/configuration/events_analytics_platform/storages/eap_items.yaml +++ b/snuba/datasets/configuration/events_analytics_platform/storages/eap_items.yaml @@ -161,6 +161,8 @@ deletion_settings: allowed_attributes_by_item_type: occurrence: - group_id + preprod: + - sentry.trace_id mandatory_condition_checkers: - condition: OrgIdEnforcer