From f88cf4e09d8a438cb84c212c023c9cd6dbed8669 Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Wed, 11 Nov 2026 15:36:52 -0800 Subject: [PATCH] Typecheck discovery host guard with the mixed-layer integration tests --- config/tsconfig.tc.web.json | 1 + config/tsconfig.test.pane-launch.json | 1 + config/tsconfig.web.json | 1 + .../ipc/filesystem/filesystem-repository-status-index.test.ts | 2 +- .../tree/file-explorer-repository-host-idle.test.ts | 2 -- 5 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/tsconfig.tc.web.json b/config/tsconfig.tc.web.json index 0c4e66706e0..81e6076433d 100644 --- a/config/tsconfig.tc.web.json +++ b/config/tsconfig.tc.web.json @@ -1,6 +1,7 @@ { "extends": "./tsconfig.web.json", "exclude": [ + "../src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-repository-host-idle.test.ts", "../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx", "../src/renderer/src/runtime/provider-accounts/observations/provider-account-observation.test-fixture.ts", "../src/shared/**/*.test.ts", diff --git a/config/tsconfig.test.pane-launch.json b/config/tsconfig.test.pane-launch.json index 07117e2ab40..43dd291b7ba 100644 --- a/config/tsconfig.test.pane-launch.json +++ b/config/tsconfig.test.pane-launch.json @@ -1,6 +1,7 @@ { "extends": "./tsconfig.web.json", "include": [ + "../src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-repository-host-idle.test.ts", "../src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-coordinator-mail.test.ts", "../src/main/runtime/agent-session/structured-agent-session-chat-wait-work-state.test.ts", "../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx", diff --git a/config/tsconfig.web.json b/config/tsconfig.web.json index b8af840abf1..59a50745ac7 100644 --- a/config/tsconfig.web.json +++ b/config/tsconfig.web.json @@ -11,6 +11,7 @@ "../src/shared/**/*" ], "exclude": [ + "../src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-repository-host-idle.test.ts", "../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx", "../src/renderer/src/runtime/provider-accounts/observations/provider-account-observation.test-fixture.ts" ], diff --git a/src/main/ipc/filesystem/filesystem-repository-status-index.test.ts b/src/main/ipc/filesystem/filesystem-repository-status-index.test.ts index d4b91e053d2..ba2acc854fa 100644 --- a/src/main/ipc/filesystem/filesystem-repository-status-index.test.ts +++ b/src/main/ipc/filesystem/filesystem-repository-status-index.test.ts @@ -1,6 +1,6 @@ import { afterEach, beforeEach, expect, it, vi } from 'vitest' import { handlers, resetFilesystemIpcMocks } from './filesystem-test-harness' -import type { StateWriteListener } from '../../persistence/loading-store/write-scheduling' +import type { StateWriteListener } from '../../persistence/loading-store/profile-writing/write-scheduling' const read = vi.hoisted(() => vi.fn(async () => ({ entries: [], conflictOperation: 'unknown', repositoryStatuses: [] })) diff --git a/src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-repository-host-idle.test.ts b/src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-repository-host-idle.test.ts index 2001f8e717b..ba0cca73ac3 100644 --- a/src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-repository-host-idle.test.ts +++ b/src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-repository-host-idle.test.ts @@ -1,5 +1,3 @@ -// oxlint-disable-next-line typescript/triple-slash-reference -- The host globals are ambient declarations, not an importable module. -/// import { afterEach, expect, it, vi } from 'vitest' import type { GitRepositoryStatusRequest } from '../../../../../../shared/git/status/git-repository-status' import { getRepositoryStatuses } from '../../../../../../main/git/source-control/repository-status'