Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
test: retry temp data-root removal while a killed test Chrome finishes flushing
Adam Eivyc8f8a1c340c3
diff --git a/server/lib/mockPathsDataRoot.js b/server/lib/mockPathsDataRoot.jsindex 7d876c4749..7b194cdd97 100644--- a/server/lib/mockPathsDataRoot.js+++ b/server/lib/mockPathsDataRoot.js@@ -90,7 +90,9 @@ export function lazyTempDataRoot(prefix = 'portos-test-') {/** Remove every root `lazyTempDataRoot` handed out in this worker. */export function cleanupTempDataRoots() {- for (const root of lazyRoots.values()) rmSync(root, { recursive: true, force: true });+ // Retries cover ENOTEMPTY/EBUSY from a just-killed child (a test Chrome's+ // helpers) still flushing into the root while it is being removed.+ for (const root of lazyRoots.values()) rmSync(root, { recursive: true, force: true, maxRetries: 5, retryDelay: 100 });lazyRoots.clear();}