From 43166a96f580e2ebe613acb3c29db23396231e9e Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Wed, 12 Aug 2026 18:06:38 -0700 Subject: [PATCH] fix(ipc): one import of the incarnation module, not two CI's code-quality plugins deny a second import of a module already imported in the same file; the pre-commit hook runs a different oxlint config and did not see it. Both failing checks were this: `verify` is a gate that only reported static analysis, with typecheck, tests and both package jobs already green. --- src/main/ipc/pty.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/ipc/pty.ts b/src/main/ipc/pty.ts index b49872733c3..8c253812812 100644 --- a/src/main/ipc/pty.ts +++ b/src/main/ipc/pty.ts @@ -88,7 +88,6 @@ import { isSshPtyIdentityMismatchError, isSshPtyNotFoundError } from '../providers/ssh-pty-errors' -import { isRelayAttestedPtyIncarnationId } from '../../shared/pty-incarnation' import { parseAppSshPtyId, toAppSshPtyId, toRelaySshPtyId } from '../providers/ssh-pty-id' import { createPtySpawnTiming } from './pty-spawn-timing' import { @@ -235,7 +234,7 @@ import { } from '../project-groups/folder-workspace-path-status' import { getSshFilesystemProvider } from '../providers/ssh-filesystem-dispatch' import { resolveLocalProjectRuntimeForWorktreeId } from '../local-project-runtime-resolution' -import { isPtyIncarnationId } from '../../shared/pty-incarnation' +import { isPtyIncarnationId, isRelayAttestedPtyIncarnationId } from '../../shared/pty-incarnation' import type { PtyListedSession } from '../../shared/pty-listed-session' // ─── Provider Registry ──────────────────────────────────────────────