diff --git a/packages/server/vitest.config.ts b/packages/server/vitest.config.ts index 142b4f0e0..65e95e7a7 100644 --- a/packages/server/vitest.config.ts +++ b/packages/server/vitest.config.ts @@ -60,5 +60,10 @@ export default defineConfig({ test: { name: 'server', include: ['test/**/*.{test,e2e}.ts'], + // The server e2e tests pull in the full agent-core tree, which makes module + // import very slow on Windows runners and destabilizes the test-windows job + // (flaky timeouts and worker crashes). Skip them on Windows; they still run + // on the Linux/macOS `test` job. + exclude: process.platform === 'win32' ? ['test/**/*.e2e.test.ts'] : [], }, });