Skip to content

Commit 9671798

Browse files
roggenkemperclaude
andcommitted
fix(issue-detection): Remove AI children from project_settings_to_group_map
The per-group-type children (ai_detected_http_enabled, etc.) should be treated like other children in thresholds_to_manage_map, not as management-level settings. Issue creation blocking is handled by GROUP_TYPE_TO_SETTING in detection.py. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ed88b2e commit 9671798

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/sentry/issues/endpoints/project_performance_issue_settings.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@
1818
update_performance_settings,
1919
)
2020
from sentry.issues.grouptype import (
21-
AIDetectedCodeHealthGroupType,
22-
AIDetectedDBGroupType,
2321
AIDetectedGeneralGroupType,
24-
AIDetectedHTTPGroupType,
25-
AIDetectedRuntimePerformanceGroupType,
26-
AIDetectedSecurityGroupType,
2722
GroupType,
2823
PerformanceConsecutiveDBQueriesGroupType,
2924
PerformanceConsecutiveHTTPQueriesGroupType,
@@ -117,12 +112,6 @@ class ConfigurableThresholds(Enum):
117112
ConfigurableThresholds.DB_QUERY_INJECTION.value: QueryInjectionVulnerabilityGroupType,
118113
ConfigurableThresholds.WEB_VITALS.value: WebVitalsGroup,
119114
ConfigurableThresholds.AI_ISSUE_DETECTION.value: AIDetectedGeneralGroupType,
120-
ConfigurableThresholds.AI_DETECTED_HTTP.value: AIDetectedHTTPGroupType,
121-
ConfigurableThresholds.AI_DETECTED_DB.value: AIDetectedDBGroupType,
122-
ConfigurableThresholds.AI_DETECTED_RUNTIME_PERFORMANCE.value: AIDetectedRuntimePerformanceGroupType,
123-
ConfigurableThresholds.AI_DETECTED_SECURITY.value: AIDetectedSecurityGroupType,
124-
ConfigurableThresholds.AI_DETECTED_CODE_HEALTH.value: AIDetectedCodeHealthGroupType,
125-
ConfigurableThresholds.AI_DETECTED_GENERAL.value: AIDetectedGeneralGroupType,
126115
}
127116
"""
128117
A mapping of the management settings to the group type that the detector spawns.

0 commit comments

Comments
 (0)