Skip to content

Commit 8bc959b

Browse files
ajay-sentryandrewshie-sentry
authored andcommitted
chore(prevent): add prevent ai flag to temp flag options (#97617)
This PR adds a new ff to the temp options for the prevent AI UI relates to getsentry/sentry-options-automator#4883 <!-- Sentry employees and contractors can delete or ignore the following. --> ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
1 parent 0d2b8c9 commit 8bc959b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sentry/features/temporary.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ def register_temporary_features(manager: FeatureManager):
294294
manager.add("organizations:preprod-frontend-routes", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
295295
# Enables the playstation ingestion in relay
296296
manager.add("organizations:relay-playstation-ingestion", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
297+
# Enables Prevent AI in the Sentry UI
298+
manager.add("organizations:prevent-ai", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
297299
# Enables Prevent team Replay Assertions (Flows) POC
298300
manager.add("organizations:prevent-flows-poc", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
299301
# Enable profiling

0 commit comments

Comments
 (0)