diff --git a/src/sentry/issues/grouptype.py b/src/sentry/issues/grouptype.py index 2760d3d52d6d23..606140e2edd6e6 100644 --- a/src/sentry/issues/grouptype.py +++ b/src/sentry/issues/grouptype.py @@ -666,6 +666,7 @@ class UptimeDomainCheckFailure(GroupType): }, "additionalProperties": False, } + use_flagpole_for_all_features = True @dataclass(frozen=True) diff --git a/tests/sentry/uptime/consumers/test_results_consumer.py b/tests/sentry/uptime/consumers/test_results_consumer.py index b2e5587a9a70e9..f90ca2acb02103 100644 --- a/tests/sentry/uptime/consumers/test_results_consumer.py +++ b/tests/sentry/uptime/consumers/test_results_consumer.py @@ -79,7 +79,7 @@ def send_result( datetime.now(), ) ) - with self.feature(UptimeDomainCheckFailure.build_ingest_feature_name()): + with self.feature(UptimeDomainCheckFailure.build_ingest_flagpole_feature_name()): if consumer is None: factory = UptimeResultsStrategyFactory(mode=self.strategy_processing_mode) commit = mock.Mock() diff --git a/tests/sentry/uptime/subscriptions/test_subscriptions.py b/tests/sentry/uptime/subscriptions/test_subscriptions.py index dcc9e8d77d6fc1..b166761cca013f 100644 --- a/tests/sentry/uptime/subscriptions/test_subscriptions.py +++ b/tests/sentry/uptime/subscriptions/test_subscriptions.py @@ -690,7 +690,10 @@ def test(self, mock_disable_seat): @mock.patch("sentry.quotas.backend.disable_seat") def test_disable_failed(self, mock_disable_seat): - with self.tasks(), self.feature(UptimeDomainCheckFailure.build_ingest_feature_name()): + with ( + self.tasks(), + self.feature(UptimeDomainCheckFailure.build_ingest_flagpole_feature_name()), + ): proj_sub = create_project_uptime_subscription( self.project, self.environment, diff --git a/tests/sentry/uptime/test_issue_platform.py b/tests/sentry/uptime/test_issue_platform.py index e234dc2c22b904..738a0e48369be3 100644 --- a/tests/sentry/uptime/test_issue_platform.py +++ b/tests/sentry/uptime/test_issue_platform.py @@ -119,7 +119,7 @@ def test(self): uptime_subscription=subscription ) result = self.create_uptime_result(subscription.subscription_id) - with self.feature(UptimeDomainCheckFailure.build_ingest_feature_name()): + with self.feature(UptimeDomainCheckFailure.build_ingest_flagpole_feature_name()): create_issue_platform_occurrence(result, project_subscription) hashed_fingerprint = md5(str(project_subscription.id).encode("utf-8")).hexdigest() group = Group.objects.get(grouphash__hash=hashed_fingerprint)