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

+2 -1
View File
@@ -169,7 +169,8 @@ fn handle(req: &Request, ctx: &Ctx) -> Value {
.collect();
ok(
json!({"machine": ctx.machine, "paused": s.paused, "now": now_secs(), "repos": repos,
"not_migrated": s.not_migrated.iter().map(|p| p.display().to_string()).collect::<Vec<_>>()}),
"not_migrated": s.not_migrated.iter().map(|p| p.display().to_string()).collect::<Vec<_>>(),
"stalled": s.stalled.iter().map(|p| p.display().to_string()).collect::<Vec<_>>()}),
)
}
"pause" | "resume" => {