Fix dashboard startup blocking on recovery

This commit is contained in:
gsxdsm
2026-04-12 23:50:51 -07:00
parent ea4e42646b
commit 372337c608
4 changed files with 60 additions and 9 deletions

View File

@@ -466,7 +466,9 @@ export class InProcessRuntime
// they no longer have a tracked session/worktree, so the stuck detector
// cannot recover them. Delegate the startup recovery pass to
// SelfHealingManager so the policy lives in one place.
await this.selfHealingManager.runStartupRecovery();
void this.selfHealingManager.runStartupRecovery().catch((err) => {
runtimeLog.error("Self-healing startup recovery failed:", err);
});
// 11. Start scheduler and triage processor
this.scheduler.start();