Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

fix: skip /instances/tabs call when no stable instances

Bosch827f739c38bd
diff --git a/dashboard/src/pages/MonitoringPage.tsx b/dashboard/src/pages/MonitoringPage.tsx
index 84eb47cc..f1fe364d 100644
--- a/dashboard/src/pages/MonitoringPage.tsx
+++ b/dashboard/src/pages/MonitoringPage.tsx
@@ -71,8 +71,15 @@ export default function MonitoringPage() {
});
}
- // Skip instance data if no running instances
- if (runningInstances.length === 0) return;
+ // Skip instance data if no stable running instances
+ // (this prevents calling /instances/tabs which proxies to ALL instances,
+ // including fresh ones that might not be ready yet)
+ if (runningInstances.length === 0) {
+ // Clear stale data when no stable instances
+ setCurrentTabs({});
+ setCurrentMemory({});
+ return;
+ }
// Fetch tabs and instance metrics
const [allTabs, allMetrics] = await Promise.all([