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
Pin the runner-disconnect hold notice to info in the dispatch-hold test
[._.]/ Adam Eivy130094e6cf49
diff --git a/server/services/subAgentSpawner.dispatchHolds.test.js b/server/services/subAgentSpawner.dispatchHolds.test.jsindex d955790c1f..e89a2c813a 100644--- a/server/services/subAgentSpawner.dispatchHolds.test.js+++ b/server/services/subAgentSpawner.dispatchHolds.test.js@@ -397,12 +397,13 @@ describe('subAgentSpawner — runner connection events', () => {vi.clearAllMocks();});- it('warns once when the runner drops, rather than once per held task', () => {+ // A runner restart is routine, so the hold is announced on stdout (info), once.+ it('announces once when the runner drops, rather than once per held task', () => {runnerHandlers.get('connection:lost')();- const warnings = emitLog.mock.calls.filter(([level]) => level === 'warn');- expect(warnings).toHaveLength(1);- expect(warnings[0][1]).toMatch(/CoS Runner disconnected/);+ const notices = emitLog.mock.calls.filter(([, message]) => /CoS Runner disconnected/.test(message));+ expect(notices.map(([level]) => level)).toEqual(['info']);+ expect(emitLog.mock.calls.filter(([level]) => level === 'warn' || level === 'error')).toEqual([]);});it('re-runs the dequeue when the runner returns, so held tasks spawn', async () => {