Skip to content

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

fix: resolve CI test failures from unhandled rejection

Adam Eivyad7c77791338
diff --git a/server/services/cos.js b/server/services/cos.js
index ee12add2e1..fa02578267 100644
--- a/server/services/cos.js
+++ b/server/services/cos.js
@@ -4106,5 +4106,7 @@ async function init() {
}
}
-// Initialize asynchronously
-init();
+// Initialize asynchronously (skip during tests to avoid circular import issues)
+if (process.env.NODE_ENV !== 'test') {
+ init();
+}