agent-orchestrator/packages/plugins/workspace-clone/src
prateek 1e304110f7
fix: destroy old runtime before restore, cleanup clone on failure (#109)
Two bugbot follow-ups from PR #104:

1. Destroy old runtime handle before creating new one in restore().
   When an agent crashes, the tmux session survives. Creating a new
   tmux session with the same name fails. Now we destroy the old
   handle first (best-effort, non-blocking).

2. Wrap git clone in try-catch in workspace-clone restore(). On clone
   failure (network error, disk full), clean up the partial directory
   so future restore attempts aren't blocked.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 01:35:49 +05:30
..
__tests__ feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
index.ts fix: destroy old runtime before restore, cleanup clone on failure (#109) 2026-02-19 01:35:49 +05:30