diff --git a/static/app/components/events/autofix/preferences/hooks/useBulkAutofixAutomationSettings.ts b/static/app/components/events/autofix/preferences/hooks/useBulkAutofixAutomationSettings.ts index f61eec5b459715..2d0301845651c9 100644 --- a/static/app/components/events/autofix/preferences/hooks/useBulkAutofixAutomationSettings.ts +++ b/static/app/components/events/autofix/preferences/hooks/useBulkAutofixAutomationSettings.ts @@ -45,6 +45,7 @@ export type AutofixAutomationSettings = { automatedRunStoppingPoint: ProjectSeerPreferences['automated_run_stopping_point']; automationHandoff: ProjectSeerPreferences['automation_handoff']; projectId: string | number; // Ideally this is a string, but in reality it can be a number. + projectSlug: string; reposCount: number; }; diff --git a/static/app/views/settings/seer/seerAgentHooks.spec.tsx b/static/app/views/settings/seer/seerAgentHooks.spec.tsx index 13a426c4a4af6b..a77be7d7bd4388 100644 --- a/static/app/views/settings/seer/seerAgentHooks.spec.tsx +++ b/static/app/views/settings/seer/seerAgentHooks.spec.tsx @@ -37,6 +37,7 @@ describe('seerAgentHooks', () => { initialProps: { autofixSettings: { projectId: '1', + projectSlug: 'project-slug', autofixAutomationTuning: 'off', automatedRunStoppingPoint: undefined, automationHandoff: undefined, @@ -55,6 +56,7 @@ describe('seerAgentHooks', () => { initialProps: { autofixSettings: { projectId: '1', + projectSlug: 'project-slug', autofixAutomationTuning: 'medium', automatedRunStoppingPoint: undefined, automationHandoff: undefined, @@ -77,6 +79,7 @@ describe('seerAgentHooks', () => { initialProps: { autofixSettings: { projectId: '1', + projectSlug: 'project-slug', autofixAutomationTuning: 'medium', automatedRunStoppingPoint: undefined, automationHandoff: { @@ -113,6 +116,7 @@ describe('seerAgentHooks', () => { json: [ { projectId: '1', + projectSlug: 'project-slug', autofixAutomationTuning: 'off' as const, automatedRunStoppingPoint: 'code_changes' as const, automationHandoff: undefined, @@ -120,6 +124,7 @@ describe('seerAgentHooks', () => { }, { projectId: '2', + projectSlug: 'project-slug', autofixAutomationTuning: 'medium' as const, automatedRunStoppingPoint: 'open_pr' as const, automationHandoff: undefined, diff --git a/static/gsApp/views/seerAutomation/components/projectTable/seerProjectTableRow.tsx b/static/gsApp/views/seerAutomation/components/projectTable/seerProjectTableRow.tsx index 64a914cffbf281..62b9761e9a9de0 100644 --- a/static/gsApp/views/seerAutomation/components/projectTable/seerProjectTableRow.tsx +++ b/static/gsApp/views/seerAutomation/components/projectTable/seerProjectTableRow.tsx @@ -59,6 +59,7 @@ export function SeerProjectTableRow({ automatedRunStoppingPoint: 'code_changes', automationHandoff: undefined, projectId: project.id, + projectSlug: project.slug, reposCount: 0, }, integrations: integrations ?? [],