fix(ci): harden windows runtime smoke tests
This commit is contained in:
parent
465b031873
commit
f06dc16a63
2 changed files with 6 additions and 2 deletions
|
|
@ -37,6 +37,8 @@ import {
|
||||||
|
|
||||||
import type { TeamProvisioningProgress } from '../../../../src/shared/types';
|
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', () => {
|
describe('Team agent launch matrix safe e2e', () => {
|
||||||
let tempDir: string;
|
let tempDir: string;
|
||||||
let tempClaudeRoot: string;
|
let tempClaudeRoot: string;
|
||||||
|
|
@ -15945,7 +15947,7 @@ describe('Team agent launch matrix safe e2e', () => {
|
||||||
});
|
});
|
||||||
expect(relaunchedStatuses.statuses.alice?.pendingPermissionRequestIds).toBeUndefined();
|
expect(relaunchedStatuses.statuses.alice?.pendingPermissionRequestIds).toBeUndefined();
|
||||||
});
|
});
|
||||||
});
|
}, LAUNCH_MATRIX_SAFE_E2E_TIMEOUT_MS);
|
||||||
|
|
||||||
type FakeMemberOutcome = 'confirmed' | 'permission' | 'launching' | 'failed';
|
type FakeMemberOutcome = 'confirmed' | 'permission' | 'launching' | 'failed';
|
||||||
type MixedPrimaryProviderId = 'anthropic' | 'codex';
|
type MixedPrimaryProviderId = 'anthropic' | 'codex';
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,9 @@ describe('Team runtime memory safe e2e', () => {
|
||||||
await fs.rm(tempDir, { recursive: true, force: true });
|
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 teamName = `anthropic-rss-${process.pid}`;
|
||||||
const memberName = 'alice';
|
const memberName = 'alice';
|
||||||
const agentId = `${memberName}@${teamName}`;
|
const agentId = `${memberName}@${teamName}`;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue