The Windows ConPTY round-trip (named pipe -> pty-host -> pwsh -> findstr -> rolling buffer) varies from hundreds of ms to seconds depending on runner load, AV scanners, and cold caches. The previous 1500 ms fixed sleep flaked on slow Windows runners (observed empty getOutput buffer at sample time). Replace it with a 10 s deadline poll that checks for the actual payload substring, robust to both timing variance and incidental shell banners arriving first. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||