From 0ed7610a41e9f6192eea4980149489cd3ac45990 Mon Sep 17 00:00:00 2001 From: Dan Fuller Date: Fri, 17 Apr 2026 16:44:34 -0700 Subject: [PATCH] ref(flags): Remove 5 dead feature flag registrations The flag scanner classified these as dead (no code or frontend usage). - organizations:profiling-differential-flamegraph-page - organizations:project-templates - organizations:search-query-builder-explicit-boolean-filters - organizations:search-query-builder-input-flow-changes - organizations:seer-explorer-streaming Co-Authored-By: Claude Opus 4.7 (1M context) --- src/sentry/features/temporary.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/sentry/features/temporary.py b/src/sentry/features/temporary.py index 58de623c30eb6e..6959955f16e5e2 100644 --- a/src/sentry/features/temporary.py +++ b/src/sentry/features/temporary.py @@ -279,13 +279,10 @@ def register_temporary_features(manager: FeatureManager) -> None: manager.add("organizations:profiling-beta", OrganizationFeature, FeatureHandlerStrategy.INTERNAL, api_expose=True) # Enables dropping of profiles that may come from buggy sdks manager.add("organizations:profiling-reject-sdks", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) - # Enables separate differential flamegraph page - manager.add("organizations:profiling-differential-flamegraph-page", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable global suspect functions in profiling manager.add("organizations:profiling-global-suspect-functions", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable function trends widgets in profiling manager.add("organizations:profiling-function-trends", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) - manager.add("organizations:project-templates", OrganizationFeature, FeatureHandlerStrategy.INTERNAL, api_expose=False) # Enable replay AI summaries for mobile replays manager.add("organizations:replay-ai-summaries-mobile", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable replay AI summaries for web replays @@ -310,8 +307,6 @@ def register_temporary_features(manager: FeatureManager) -> None: manager.add("organizations:seer-night-shift", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False) # Per-project gate for Seer Night Shift (requires organizations:seer-night-shift on the org) manager.add("projects:seer-night-shift", ProjectFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False) - # Enable streaming responses for Seer Explorer - manager.add("organizations:seer-explorer-streaming", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable context engine for Seer Explorer manager.add("organizations:seer-explorer-context-engine", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable context engine experimental contexts @@ -342,10 +337,6 @@ def register_temporary_features(manager: FeatureManager) -> None: manager.add("organizations:seer-run-id-in-slack", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False) # Enable search query attribute validation manager.add("organizations:search-query-attribute-validation", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) - # Enable search query builder to support explicit boolean filters - manager.add("organizations:search-query-builder-explicit-boolean-filters", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) - # Enable search query builder input flow changes - manager.add("organizations:search-query-builder-input-flow-changes", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable search query builder raw search replacement manager.add("organizations:search-query-builder-raw-search-replacement", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) manager.add("organizations:seer-agent-pr-consolidation", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)