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: allow bounded cold Windows bootstrap failure checks (#8612)
[._.]/ Adam Eivy848ad2ce1861
diff --git a/server/lib/detachedSpawn.test.js b/server/lib/detachedSpawn.test.jsindex 7697e5d62f..10859ea5f9 100644--- a/server/lib/detachedSpawn.test.js+++ b/server/lib/detachedSpawn.test.js@@ -323,12 +323,17 @@ describe('spawnDetached', () => {expect(getOut()).toBe('a b "c"\n');});- it.runIf(!IS_POSIX)('reports a real supervisor bootstrap failure without private paths', async () => {+ it.skipIf(IS_POSIX).each([1, 2, 3])('reports a real supervisor bootstrap failure without private paths (launch %i)', async () => {const controlDir = await tmpControlDir();- const handle = await spawnDetached('portos-nonexistent-example-command', [], { controlDir });+ // Each independent supervisor pays the cold PowerShell/Start-Process cost.+ // Use the stream fixture's bounded CI budget so we test the command error,+ // not host startup speed; a PID timeout still fails the assertions below.+ const handle = await spawnDetached('portos-nonexistent-example-command', [], {+ controlDir, pidTimeoutMs: 30000,+ });await expect(onClose(handle)).rejects.toThrow(/supervisor-stage=failed hresult=-?\d+/);expect(await readFile(join(controlDir, 'supervisor-bootstrap.log'), 'utf8')).toMatch(/^failed hresult=-?\d+$/);- });+ }, 45_000);it.runIf(!IS_POSIX)('cancels a cold supervisor after PID acquisition times out', async () => {const controlDir = await tmpControlDir();