From 5038546189f84b09974536c00eaf75f4ed0aeee3 Mon Sep 17 00:00:00 2001 From: Manoj Prabhakar Paidiparthy Date: Wed, 27 May 2026 19:42:37 -0700 Subject: [PATCH] fix(wrapper): bump vitest testTimeout to 15s for CI transport test The publish-wrapper workflow times out on test/transport.test.ts > Transport > terminate() resolves with SIGTERM signal, which spawns a real subprocess and waits for SIGTERM exit. vitest's default 5s timeout is too tight on busy GitHub Actions runners. Bumping to 15s accommodates the real-world round-trip. Locally verified: 61/61 wrapper tests pass. Failing workflow run: https://github.com/microsoft/amplifier-agent/actions/runs/26551192854 Generated with [Amplifier](https://github.com/microsoft/amplifier) Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com> --- wrappers/typescript/vitest.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wrappers/typescript/vitest.config.ts b/wrappers/typescript/vitest.config.ts index d9ebefd5..bb5fbc62 100644 --- a/wrappers/typescript/vitest.config.ts +++ b/wrappers/typescript/vitest.config.ts @@ -4,5 +4,10 @@ export default defineConfig({ test: { include: ["test/**/*.test.ts"], environment: "node", + // 15s accommodates the transport.test.ts terminate() case which spawns + // a real subprocess and waits for SIGTERM exit on CI runners — the 5s + // vitest default is tight on busy GitHub Actions hosts (see + // publish-wrapper.yml run 26551192854 for the timeout symptom). + testTimeout: 15000, }, });