Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(windows): 放宽 PowerShell 路径探针预算
DavidShenfad2a2f908c6
diff --git a/packages/maker-core/src/agents/pi/windows-git-path-powershell.test.ts b/packages/maker-core/src/agents/pi/windows-git-path-powershell.test.tsindex 8d420729d1..ef52a54c13 100644--- a/packages/maker-core/src/agents/pi/windows-git-path-powershell.test.ts+++ b/packages/maker-core/src/agents/pi/windows-git-path-powershell.test.ts@@ -129,12 +129,14 @@ describe('Windows Git PATH PowerShell probes', () => {try {output = execFileSync(path.join(systemRoot, 'System32', 'WindowsPowerShell', 'v1.0', 'powershell.exe'),- ['-NoLogo', '-NoProfile', '-NonInteractive', '-Command', buildWindowsPathKindProbeScript(4, 3_000, 2)],+ // Hosted Windows runners can spend several seconds starting the+ // nested PowerShell probes before any candidate is inspected.+ ['-NoLogo', '-NoProfile', '-NonInteractive', '-Command', buildWindowsPathKindProbeScript(4, 10_000, 2)],{encoding: 'utf8',input: Buffer.from(JSON.stringify(groups), 'utf8'),stdio: ['pipe', 'pipe', 'pipe'],- timeout: 5_000,+ timeout: 15_000,windowsHide: true,},);@@ -152,7 +154,7 @@ describe('Windows Git PATH PowerShell probes', () => {rmSync(tempRoot, { recursive: true, force: true });}},- 12_000,+ 30_000,);it.runIf(process.platform === 'win32')(