feat(gui): stalled repos, runtime not-migrated rows, safer import cleanup

- daemon status reports stalled repos; GUI shows them with the backup hint
- activity: repo_stalled is a warning; repo_added/removed shown
- migrate rows keep their result only until the next status refresh
- import removes a failed clone's directory only if it created it

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-11-16 18:47:38 +01:00
1 parent 01c4974c07
commit b875a41b4d
8 files changed
+63 -6

No files matched your search

+6 -2
View File
@@ -122,8 +122,12 @@ for confirmation first (the dialog names the backup directory, `<state dir>/back
path or the refusal message (linked worktrees, submodules, detached HEAD...). The bridge only runs
`add` for an existing, non-symlink directory directly under `<root>/<group>/` and passes no flags
(so no custom backup directory). Afterwards the status is refreshed; the daemon computes its
not-migrated list at start (a daemon-side fix is separate), so finished rows stay on screen with
their result until the daemon list changes.
not-migrated list at runtime, so after a migration the row keeps its result on screen until the
next status refresh drops it. A second `grove add` is refused while a `.grove-busy` marker is held;
Migrate all runs strictly one clone at a time and shows that refusal text on the row. Repos the
daemon reports as `stalled` (interrupted operation, marker left behind) get their own card with
the hint to check the backups; `repo_added`, `repo_removed` and `repo_stalled` (warning) appear in
Activity.
## Diagnostics log