From 183a2badd7829dc4c1909985d6798a04fb012786 Mon Sep 17 00:00:00 2001 From: Hector Date: Tue, 16 Jun 2026 15:31:48 +0000 Subject: [PATCH] feat(features): register organizations:am3-tier permanent feature flag The flag is used in sentry/ingest/consumer/processors.py but was not registered in the default manager, causing errors in self-hosted deployments. Mirrors the pattern used by organizations:spans-usage-tracking. Refs https://github.com/getsentry/self-hosted/issues/4377 Co-Authored-By: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> --- src/sentry/features/permanent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sentry/features/permanent.py b/src/sentry/features/permanent.py index f32bc2470a9248..865065a30e379e 100644 --- a/src/sentry/features/permanent.py +++ b/src/sentry/features/permanent.py @@ -31,6 +31,8 @@ def register_permanent_features(manager: FeatureManager) -> None: permanent_organization_features = { # Enable advanced search features, like negation and wildcard matching. "organizations:advanced-search": True, + # Denotes organizations on the AM3 billing tier + "organizations:am3-tier": False, # Enable anomaly detection alerts "organizations:anomaly-detection-alerts": False, # Enable change alerts for an org