Merge branch 'master' into codex/agent-session-jsonl-location

This commit is contained in:
Yichen Jiang
2026-07-15 22:04:58 +08:00
committed by GitHub
41 changed files with 863 additions and 359 deletions

View File

@@ -116,7 +116,8 @@ function runBuiltBin(cwd: string, configArg: string, line: string): Promise<{ st
let consumer: string | undefined
afterEach(async () => {
if (consumer !== undefined) await rm(consumer, { recursive: true, force: true })
// Windows can briefly retain released handles after exit; retry removal.
if (consumer !== undefined) await rm(consumer, { recursive: true, force: true, maxRetries: 10, retryDelay: 100 })
consumer = undefined
})