feat(FN-4935): complete Step 7 — testing and verification

Ref: Runfusion/Fusion#601
Fusion-Task-Id: FN-4935
Fusion-Task-Lineage: 8c842b69-1427-47be-9ba5-8ec66449cc7c
This commit is contained in:
Fusion (runfusion.ai)
2026-05-17 15:01:42 -07:00
committed by gsxdsm
parent f562c856da
commit 3bbc5077b8
7 changed files with 57 additions and 23 deletions

View File

@@ -109,7 +109,9 @@ export async function describeRegisteredWorktrees(rootDir: string): Promise<{ ra
}
return { rawOutput: stdout, canonicalized };
} catch {
} catch (err: unknown) {
const errorMessage = err instanceof Error ? err.message : String(err);
worktreePoolLog.warn(`[worktree-pool] Failed to list registered worktrees: ${errorMessage}`);
return { rawOutput: "", canonicalized: [] };
}
}