Skip to content

Commit 8d08dc5

Browse files
edwardgou-sentryryan953
authored andcommitted
chore(insights): Sets web vitals issue group type to released (#103853)
This feature has been GA'd for some time now. - Updates the web vital issue group type to released - Removes deprecated feature flag check - Comment update
1 parent 7103c86 commit 8d08dc5

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src/sentry/issues/endpoints/project_user_issue.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,6 @@ def has_feature(self, organization: Organization, request: Request) -> bool:
213213
"organizations:performance-web-vitals-seer-suggestions",
214214
organization,
215215
actor=request.user,
216-
) and features.has(
217-
"organizations:issue-web-vitals-ingest", organization, actor=request.user
218216
)
219217

220218
@extend_schema(

src/sentry/issues/grouptype.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,8 +683,9 @@ class WebVitalsGroup(GroupType): # TODO: Rename to WebVitalsGroupType
683683
enable_escalation_detection = False
684684
enable_status_change_workflow_notifications = False
685685
enable_workflow_notifications = False
686-
# Web Vital issues are always manually created by the user for the purpose of using autofix
686+
# Web Vital issues are always triggered for the purpose of using autofix
687687
always_trigger_seer_automation = True
688+
released = True
688689

689690

690691
def should_create_group(

tests/sentry/issues/endpoints/test_project_user_issue.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def setUp(self) -> None:
3232
)
3333

3434
@with_feature("organizations:performance-web-vitals-seer-suggestions")
35-
@with_feature("organizations:issue-web-vitals-ingest")
3635
def test_create_web_vitals_issue_success(self) -> None:
3736
data = {
3837
"transaction": "/test-transaction",
@@ -112,7 +111,6 @@ def test_no_access(self) -> None:
112111
assert response.status_code == 404
113112

114113
@with_feature("organizations:performance-web-vitals-seer-suggestions")
115-
@with_feature("organizations:issue-web-vitals-ingest")
116114
def test_missing_required_fields(self) -> None:
117115
data = {
118116
"transaction": "/test-transaction",
@@ -129,7 +127,6 @@ def test_missing_required_fields(self) -> None:
129127
assert "issueType" in response.data
130128

131129
@with_feature("organizations:performance-web-vitals-seer-suggestions")
132-
@with_feature("organizations:issue-web-vitals-ingest")
133130
def test_invalid_web_vitals_fields(self) -> None:
134131
data = {
135132
"transaction": "/test-transaction",
@@ -150,7 +147,6 @@ def test_invalid_web_vitals_fields(self) -> None:
150147
assert "score" in response.data or "vital" in response.data
151148

152149
@with_feature("organizations:performance-web-vitals-seer-suggestions")
153-
@with_feature("organizations:issue-web-vitals-ingest")
154150
def test_web_vitals_issue_fingerprint_uniqueness(self) -> None:
155151
data = {
156152
"transaction": "/test-transaction",

0 commit comments

Comments
 (0)