Skip to content

Commit ecb1c25

Browse files
authored
chore(autofix): Remove autofix-on-explorer-v2 flag (#111727)
This flag isnt used anymore.
1 parent 7863d2d commit ecb1c25

4 files changed

Lines changed: 0 additions & 12 deletions

File tree

src/sentry/seer/endpoints/group_ai_autofix.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ def _should_use_explorer(self, request: Request, organization: Organization) ->
168168
"organizations:seer-explorer",
169169
# Access to seer explorer powered autofix
170170
"organizations:autofix-on-explorer",
171-
"organizations:autofix-on-explorer-v2",
172171
]
173172

174173
batch_features = features.batch_has(

src/sentry/seer/explorer/client_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ def has_seer_explorer_access_with_detail(
162162
"organizations:seer-explorer",
163163
# Access to seer explorer powered autofix
164164
"organizations:autofix-on-explorer",
165-
"organizations:autofix-on-explorer-v2",
166165
]
167166

168167
batch_features = features.batch_has(

tests/sentry/seer/endpoints/test_group_ai_autofix.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,6 @@ def test_ai_autofix_post_invalid_stopping_point_type(self):
840840
EXPLORER_FLAGS = [
841841
"organizations:seer-explorer",
842842
"organizations:autofix-on-explorer",
843-
"organizations:autofix-on-explorer-v2",
844843
]
845844

846845

tests/sentry/seer/explorer/test_client_utils.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,12 @@ def test_only_autofix_on_explorer_flag(self):
4444
result = has_seer_explorer_access_with_detail(self.org, self.user)
4545
assert result == (True, None)
4646

47-
def test_only_autofix_on_explorer_v2_flag(self):
48-
with self.feature(
49-
{"organizations:gen-ai-features": True, "organizations:autofix-on-explorer-v2": True}
50-
):
51-
result = has_seer_explorer_access_with_detail(self.org, self.user)
52-
assert result == (True, None)
53-
5447
def test_all_explorer_flags_enabled(self):
5548
with self.feature(
5649
{
5750
"organizations:gen-ai-features": True,
5851
"organizations:seer-explorer": True,
5952
"organizations:autofix-on-explorer": True,
60-
"organizations:autofix-on-explorer-v2": True,
6153
}
6254
):
6355
result = has_seer_explorer_access_with_detail(self.org, self.user)
@@ -71,7 +63,6 @@ def test_allow_joinleave_disabled(self):
7163
"organizations:gen-ai-features": True,
7264
"organizations:seer-explorer": True,
7365
"organizations:autofix-on-explorer": True,
74-
"organizations:autofix-on-explorer-v2": True,
7566
}
7667
):
7768
result = has_seer_explorer_access_with_detail(self.org, self.user)

0 commit comments

Comments
 (0)