Skip to content

Commit 78c52f8

Browse files
committed
chore(aci): add flag to GET OrganizationIncidentIndex
1 parent 16fe989 commit 78c52f8

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/sentry/features/temporary.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@ def register_temporary_features(manager: FeatureManager) -> None:
458458
# Use workflow engine exclusively for legacy issue alert rule.get results.
459459
# See src/sentry/workflow_engine/docs/legacy_backport.md for context.
460460
manager.add("organizations:workflow-engine-issue-alert-endpoints-get", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
461+
# Use workflow engine exclusively for OrganizationIncidentIndexEndpoint.get results.
462+
# See src/sentry/workflow_engine/docs/legacy_backport.md for context.
463+
manager.add("organizations:workflow-engine-orgincidentindex-get", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
461464
# Use workflow engine exclusively for OrganizationAlertRuleDetailsEndpoint.get results.
462465
# See src/sentry/workflow_engine/docs/legacy_backport.md for context.
463466
manager.add("organizations:workflow-engine-orgalertruledetails-get", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)

src/sentry/incidents/endpoints/organization_incident_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def get(self, request: Request, organization: Organization) -> Response:
8181

8282
use_workflow_engine = features.has(
8383
"organizations:workflow-engine-rule-serializers", organization
84-
)
84+
) or features.has("organizations:workflow-engine-orgincidentindex-get", organization)
8585

8686
if use_workflow_engine:
8787
return self._get_workflow_engine(

0 commit comments

Comments
 (0)