Skip to content

Commit ede1eb2

Browse files
committed
ref(preprod): Remove PreprodStaticGroupType and PreprodDeltaGroupType
Agent transcript: https://claudescope.sentry.dev/share/ochacQV5pdLxLm7qq1RgOOUGhenf7fHfcq3yamDZVzY
1 parent 2d5bf7d commit ede1eb2

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

src/sentry/preprod/grouptype.py

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,7 @@
11
from __future__ import annotations
22

3-
from dataclasses import dataclass
4-
53
import sentry.preprod.size_analysis.grouptype # noqa: F401,F403
6-
from sentry.issues.grouptype import GroupCategory, GroupType
7-
from sentry.types.group import PriorityLevel
84

95
# We have to import sentry.preprod.size_analysis.grouptype above.
106
# grouptype modules in root packages (src/sentry/*) are auto imported
117
# but more deeply nested ones are not.
12-
13-
14-
@dataclass(frozen=True)
15-
class PreprodStaticGroupType(GroupType):
16-
"""
17-
Issues detected in a single uploaded artifact. For example an
18-
Android app not being 16kb page size ready.
19-
Typically these end up grouped across multiple builds e.g. if CI
20-
uploads a build of an app for each commit to main each of those
21-
uploads could result in an occurrence of some issue like the 16kb
22-
page size.
23-
"""
24-
25-
type_id = 11001
26-
slug = "preprod_static"
27-
description = "Static Analysis"
28-
category = GroupCategory.PREPROD.value
29-
category_v2 = GroupCategory.PREPROD.value
30-
default_priority = PriorityLevel.LOW
31-
released = False
32-
enable_auto_resolve = True
33-
enable_escalation_detection = False
34-
35-
36-
@dataclass(frozen=True)
37-
class PreprodDeltaGroupType(GroupType):
38-
"""
39-
Issues detected examining the delta between two uploaded artifacts.
40-
For example a binary size regression. These are typically *not*
41-
grouped. A size regression between v1 and v2 likely does not have
42-
the same root cause (and hence resolution) as another regression
43-
between v2 and v3.
44-
"""
45-
46-
type_id = 11002
47-
slug = "preprod_delta"
48-
description = "Static Analysis Delta"
49-
category = GroupCategory.PREPROD.value
50-
category_v2 = GroupCategory.PREPROD.value
51-
default_priority = PriorityLevel.LOW
52-
released = False
53-
enable_auto_resolve = True
54-
enable_escalation_detection = False

0 commit comments

Comments
 (0)