From f06dc16a635ccdf4b92d615d8a29f502a410d1f4 Mon Sep 17 00:00:00 2001 From: 777genius Date: Sat, 25 Apr 2026 01:35:07 +0300 Subject: [PATCH] fix(ci): harden windows runtime smoke tests --- .../main/services/team/TeamAgentLaunchMatrix.safe-e2e.test.ts | 4 +++- test/main/services/team/TeamRuntimeMemory.safe-e2e.test.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test/main/services/team/TeamAgentLaunchMatrix.safe-e2e.test.ts b/test/main/services/team/TeamAgentLaunchMatrix.safe-e2e.test.ts index 6798b9d5..dad3e470 100644 --- a/test/main/services/team/TeamAgentLaunchMatrix.safe-e2e.test.ts +++ b/test/main/services/team/TeamAgentLaunchMatrix.safe-e2e.test.ts @@ -37,6 +37,8 @@ import { import type { TeamProvisioningProgress } from '../../../../src/shared/types'; +const LAUNCH_MATRIX_SAFE_E2E_TIMEOUT_MS = process.platform === 'win32' ? 60_000 : 15_000; + describe('Team agent launch matrix safe e2e', () => { let tempDir: string; let tempClaudeRoot: string; @@ -15945,7 +15947,7 @@ describe('Team agent launch matrix safe e2e', () => { }); expect(relaunchedStatuses.statuses.alice?.pendingPermissionRequestIds).toBeUndefined(); }); -}); +}, LAUNCH_MATRIX_SAFE_E2E_TIMEOUT_MS); type FakeMemberOutcome = 'confirmed' | 'permission' | 'launching' | 'failed'; type MixedPrimaryProviderId = 'anthropic' | 'codex'; diff --git a/test/main/services/team/TeamRuntimeMemory.safe-e2e.test.ts b/test/main/services/team/TeamRuntimeMemory.safe-e2e.test.ts index 1e2b06ff..90bde85e 100644 --- a/test/main/services/team/TeamRuntimeMemory.safe-e2e.test.ts +++ b/test/main/services/team/TeamRuntimeMemory.safe-e2e.test.ts @@ -31,7 +31,9 @@ describe('Team runtime memory safe e2e', () => { await fs.rm(tempDir, { recursive: true, force: true }); }); - it('reports RSS for a bootstrap-confirmed Anthropic teammate discovered from the real process table', async () => { + const nativeProcessTableIt = process.platform === 'win32' ? it.skip : it; + + nativeProcessTableIt('reports RSS for a bootstrap-confirmed Anthropic teammate discovered from the real process table', async () => { const teamName = `anthropic-rss-${process.pid}`; const memberName = 'alice'; const agentId = `${memberName}@${teamName}`;