perf(dashboard): start project engines in background
Awaiting engineManager.startAll() during dashboard startup blocked the TUI on the slowest project's git/state init. Engine startup now runs fire-and-forget; the reconciliation loop and the server's on-access fast path cover any engine the user reaches before it's up. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
5
.changeset/dashboard-startup-engines-background.md
Normal file
5
.changeset/dashboard-startup-engines-background.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Fix slow `fusion` startup that hung on "Starting engine…" while every registered project's engine initialized serially in `Promise.allSettled`. Engine startup now runs in the background — the TUI proceeds immediately, and the existing reconciliation loop plus the server's on-access fast path bring each project's engine up before it's actually needed.
|
||||
Reference in New Issue
Block a user