ci(windows): raise native coverage test timeout to 60s

The Windows native coverage lane was hitting Vitest's 30s per-test
ceiling on slow subprocess/ACP fixtures. Doubling the per-test budget
absorbs cold-start and process-teardown jitter without changing the
assertions or the job-level 120-minute cap.
This commit is contained in:
Chinesezjc committed 2026-08-21 11:57:42 +08:00
1 parent b9cbcf8e2b
commit a633c19b02
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -420,7 +420,7 @@ jobs:
DSH_COVERAGE_PARTITIONS: '8'
# Instrumented process and polling fixtures can exceed Vitest's defaults
# under the complete lane's concurrent gate load.
DSH_COVERAGE_TEST_TIMEOUT_MS: '30000'
DSH_COVERAGE_TEST_TIMEOUT_MS: '60000'
DSH_GATE_CONCURRENCY: '4'
DSH_PUBLINT_CONCURRENCY: '8'
steps:
+1 -1
View File
@@ -78,7 +78,7 @@ describe('CI workflow', () => {
expect(windowsNative.name).toBe('windows node 24 / native complete')
expect(windowsNative.if).toBe("github.event_name == 'pull_request'")
expect(windowsNative.env).toMatchObject({
DSH_COVERAGE_TEST_TIMEOUT_MS: '30000',
DSH_COVERAGE_TEST_TIMEOUT_MS: '60000',
})
const nativeCommandSteps = (windowsNative.steps as unknown[]).filter((step): step is Record<string, unknown> & { run: string } => (
isRecord(step) && typeof step.run === 'string'