Fix e2e helpers: workspace IDs are strings, not numbers

After removing SQLite, workspace IDs are cwd path strings instead of
numeric database IDs. Update type declarations in workspace-setup.ts
and terminal-perf.ts, and remove the numeric parsing in
fetchWorkspaceById that would reject path-based IDs.
This commit is contained in:
Mohamed Boudra
2026-04-14 06:26:38 +07:00
parent 25ab97fe8b
commit 369b46ea08
2 changed files with 6 additions and 11 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export type TerminalPerfDaemonClient = {
connect(): Promise<void>;
close(): Promise<void>;
openProject(cwd: string): Promise<{
workspace: { id: number; name: string; projectRootPath: string } | null;
workspace: { id: string; name: string; projectRootPath: string } | null;
error: string | null;
}>;
createTerminal(