Skip to content

Commit 7fa5d73

Browse files
chore(launchpad): add dev check to skip ff logic on artifact upload path (#94638)
ignore this FF when doing local development
1 parent d0ab0ce commit 7fa5d73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sentry/preprod/api/endpoints/organization_preprod_artifact_assemble.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import jsonschema
22
import orjson
33
import sentry_sdk
4+
from django.conf import settings
45
from rest_framework.request import Request
56
from rest_framework.response import Response
67

@@ -85,7 +86,7 @@ def post(self, request: Request, project) -> Response:
8586
user_id=request.user.id,
8687
)
8788

88-
if not features.has(
89+
if not settings.IS_DEV and not features.has(
8990
"organizations:preprod-artifact-assemble", project.organization, actor=request.user
9091
):
9192
return Response({"error": "Feature not enabled"}, status=403)

0 commit comments

Comments
 (0)