fix(aws): follow clone and setup in the background, after the start

Ruling R5: the start ends after Connecting (Running, lock released) and a
background follower (cancelled on Stop, Remove, tunnel close, app exit)
reports only a failure it saw or one on a task this start ran. A stale
Starting/Stopping AWS project loads as Error, and reconcile also checks a
Stopped one that still has a task ARN, so a crash never hides a live task.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shadowdaoandClaude Opus 5.5 committed 2026-11-16 08:09:51 -08:00
1 parent 6b62a2a241
commit 9c888caf13
11 files changed
+518 -127

No files matched your search

@@ -13,9 +13,10 @@ const REPO_STATE: Record<string, string> = {
};
/**
* An AWS workspace's background clone and setup script (phase 6, Q4): the
* same status the start followed, re-read every 5 s while the project is
* Running and the window is visible. Each read is a background exec, so the
* An AWS workspace's background clone and setup script (phase 6, Q4/R5):
* the start ends at "Connecting…" and this card is where their progress
* shows, re-read every 5 s while the project is Running and the window is
* visible. Each read is a background exec, so the
* card never keeps an idle workspace up. Renders nothing for a local project,
* a workspace that cannot be asked, or one with no repos and no setup script.
*/