Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down
5 changes: 5 additions & 0 deletions static/app/views/settings/seer/seerAgentHooks.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('seerAgentHooks', () => {
initialProps: {
autofixSettings: {
projectId: '1',
projectSlug: 'project-slug',
autofixAutomationTuning: 'off',
automatedRunStoppingPoint: undefined,
automationHandoff: undefined,
Expand All @@ -55,6 +56,7 @@ describe('seerAgentHooks', () => {
initialProps: {
autofixSettings: {
projectId: '1',
projectSlug: 'project-slug',
autofixAutomationTuning: 'medium',
automatedRunStoppingPoint: undefined,
automationHandoff: undefined,
Expand All @@ -77,6 +79,7 @@ describe('seerAgentHooks', () => {
initialProps: {
autofixSettings: {
projectId: '1',
projectSlug: 'project-slug',
autofixAutomationTuning: 'medium',
automatedRunStoppingPoint: undefined,
automationHandoff: {
Expand Down Expand Up @@ -113,13 +116,15 @@ describe('seerAgentHooks', () => {
json: [
{
projectId: '1',
projectSlug: 'project-slug',
autofixAutomationTuning: 'off' as const,
automatedRunStoppingPoint: 'code_changes' as const,
automationHandoff: undefined,
reposCount: 2,
},
{
projectId: '2',
projectSlug: 'project-slug',
autofixAutomationTuning: 'medium' as const,
automatedRunStoppingPoint: 'open_pr' as const,
automationHandoff: undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export function SeerProjectTableRow({
automatedRunStoppingPoint: 'code_changes',
automationHandoff: undefined,
projectId: project.id,
projectSlug: project.slug,
reposCount: 0,
},
integrations: integrations ?? [],
Expand Down
Loading