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: remove racey status assertion in handleAnnounce test

Adam Eivy15e14a7cb4a9
diff --git a/server/services/instances.test.js b/server/services/instances.test.js
index 7aebebfe96..7d1106e8d8 100644
--- a/server/services/instances.test.js
+++ b/server/services/instances.test.js
@@ -519,10 +519,10 @@ describe('instances.js', () => {
port: 5555,
instanceId: 'remote-instance',
name: 'remote-host',
- status: 'online',
enabled: true,
directions: ['inbound']
});
+ // Note: status not asserted — handleAnnounce fires async probePeer which may change it
expect(instanceEvents.emit).toHaveBeenCalledWith('peers:updated', expect.any(Array));
});