Skip to content

Commit e17fca2

Browse files
committed
remove sentry app outbox flag
1 parent 59cf5e0 commit e17fca2

File tree

2 files changed

+5
-21
lines changed

2 files changed

+5
-21
lines changed

src/sentry/options/defaults.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3174,13 +3174,6 @@
31743174
flags=FLAG_AUTOMATOR_MODIFIABLE,
31753175
)
31763176

3177-
register(
3178-
"workflow_engine.sentry-app-actions-outbox",
3179-
type=Bool,
3180-
default=False,
3181-
flags=FLAG_AUTOMATOR_MODIFIABLE,
3182-
)
3183-
31843177
register(
31853178
"workflow_engine.num_cohorts",
31863179
type=Int,

src/sentry/receivers/outbox/control.py

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
from django.dispatch import receiver
1616

17-
from sentry import options
1817
from sentry.constants import ObjectStatus
1918
from sentry.hybridcloud.outbox.category import OutboxCategory
2019
from sentry.hybridcloud.outbox.signals import process_control_outbox
@@ -61,19 +60,11 @@ def process_sentry_app_updates(object_identifier: int, region_name: str, **kwds:
6160
def process_sentry_app_deletes(object_identifier: int, region_name: str, **kwds: Any):
6261
# This function should only be used when the sentry app is being deleted.
6362
# Currently this receiver is only used for deletion.
64-
if options.get("workflow_engine.sentry-app-actions-outbox"):
65-
logger.info(
66-
"sentry_app_update.update_action_status",
67-
extra={
68-
"region_name": region_name,
69-
"sentry_app_id": object_identifier,
70-
},
71-
)
72-
action_service.update_action_status_for_sentry_app_via_sentry_app_id(
73-
region_name=region_name,
74-
status=ObjectStatus.DISABLED,
75-
sentry_app_id=object_identifier,
76-
)
63+
action_service.update_action_status_for_sentry_app_via_sentry_app_id(
64+
region_name=region_name,
65+
status=ObjectStatus.DISABLED,
66+
sentry_app_id=object_identifier,
67+
)
7768

7869

7970
@receiver(process_control_outbox, sender=OutboxCategory.API_APPLICATION_UPDATE)

0 commit comments

Comments
 (0)