fix(ci): harden windows runtime smoke tests

This commit is contained in:
777genius 2026-04-25 01:35:07 +03:00
parent 465b031873
commit f06dc16a63
2 changed files with 6 additions and 2 deletions

View file

@ -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';

View file

@ -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}`;