diff --git a/static/app/views/settings/projectSeer/index.spec.tsx b/static/app/views/settings/projectSeer/index.spec.tsx
index 5ffdb455f99431..4578e19a11597a 100644
--- a/static/app/views/settings/projectSeer/index.spec.tsx
+++ b/static/app/views/settings/projectSeer/index.spec.tsx
@@ -549,4 +549,38 @@ describe('ProjectSeer', () => {
);
});
});
+
+ it('hides Scan Issues toggle when triage-signals-v0 feature flag is enabled', async () => {
+ const projectWithFeatureFlag = ProjectFixture({
+ features: ['triage-signals-v0'],
+ });
+
+ render(, {
+ organization,
+ outletContext: {project: projectWithFeatureFlag},
+ });
+
+ // Wait for the page to load
+ await screen.findByText(/Automation/i);
+
+ // The Scan Issues toggle should NOT be visible
+ expect(
+ screen.queryByRole('checkbox', {
+ name: /Scan Issues/i,
+ })
+ ).not.toBeInTheDocument();
+ });
+
+ it('shows Scan Issues toggle when triage-signals-v0 feature flag is disabled', async () => {
+ render(, {
+ organization,
+ outletContext: {project},
+ });
+
+ // The Scan Issues toggle should be visible
+ const toggle = await screen.findByRole('checkbox', {
+ name: /Scan Issues/i,
+ });
+ expect(toggle).toBeInTheDocument();
+ });
});
diff --git a/static/app/views/settings/projectSeer/index.tsx b/static/app/views/settings/projectSeer/index.tsx
index d53d90d12c2fa2..4c11b1b2388f8e 100644
--- a/static/app/views/settings/projectSeer/index.tsx
+++ b/static/app/views/settings/projectSeer/index.tsx
@@ -194,6 +194,8 @@ function ProjectSeerGeneralForm({project}: {project: Project}) {
model?.getValue('autofixAutomationTuning') !== 'off',
} satisfies FieldObject;
+ const isTriageSignalsFeatureOn = project.features.includes('triage-signals-v0');
+
const seerFormGroups: JsonFormObject[] = [
{
title: (
@@ -218,7 +220,7 @@ function ProjectSeerGeneralForm({project}: {project: Project}) {
),
fields: [
- seerScannerAutomationField,
+ ...(isTriageSignalsFeatureOn ? [] : [seerScannerAutomationField]),
autofixAutomatingTuningField,
automatedRunStoppingPointField,
],