chore: delete four modules nothing imports
Merged
SA
5d ago+0+0+0123456789-83-83-01234567890123456789
What & why
Nothing imports these four files. Each one is a delete-only change:
| File | Lines | Evidence |
|---|---|---|
apps/desktop/src/renderer/react-query/workspaces/useImportExternalWorktrees.ts | 13 | #4113 removed its last caller. The barrel exports only useImportAllWorktrees. |
apps/desktop/src/shared/workspace-error-types.ts | 30 | No importer of the file, WorkspaceErrorCause or isWorkspaceErrorCause |
apps/desktop/src/main/lib/build-channel.ts | 12 | No importer. auto-updater.ts has its own private copy of isPrereleaseBuild. |
packages/host-service/src/trpc/router/workspace-creation/shared/start-point.ts | 32 | No importer of the file or buildStartPointFromHint |
The importExternalWorktrees tRPC procedure stays. This PR removes only the unused client hook, so there's no API change.
How I tested it
- Grepped the symbol names and import paths across
apps/andpackages/(ts/tsx/json). The only hits are the files themselves. apps/desktopandpackages/host-servicetypecheck pass
Opened by the daily cleanup automation.
Summary by cubic
Deletes four modules that nothing imports, all delete-only with no behavior or API change. Each file's last caller was removed in earlier PRs, and the typecheck passes across apps/desktop and packages/host-service.
- Removes
useImportExternalWorktrees, whose only caller was removed by #4113; theimportExternalWorktreestRPC procedure stays. - Removes
workspace-error-types.ts,build-channel.ts, andstart-point.ts, whose types and functions have no importers.
Summary by CodeRabbit
- Chores
- Removed several internal workspace-related interfaces and build-channel checks. No direct changes to the app’s user-facing behavior are specified.