fix(FN-2684): harden system-stats when project lookup fails
- Keep /api/system-stats process and host metrics available even if scoped project resolution throws - Fall back task and agent aggregates to zero when scoped task or agent stores cannot be loaded - Preserve vitest process reporting while guarding optional vitestLastAutoKillAt lookup behind scoped context success - Add route tests for scoped project-not-found fallback behavior and include a patch changeset for @runfusion/fusion
This commit is contained in:
5
.changeset/fix-system-stats-not-found.md
Normal file
5
.changeset/fix-system-stats-not-found.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Fix `/api/system-stats` so process/system metrics still return when project resolution fails, with task and agent aggregates gracefully falling back to zero counts.
|
||||
Reference in New Issue
Block a user