From 1c9d9367c194e35b1196d01b55db9874b303c76f Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sat, 17 Jan 2026 12:07:00 +0700 Subject: [PATCH] fix(server): remove CI-based test exclusions from vitest config Enable full server test suite (including e2e and integration tests) to run in CI. Removed conditional exclude logic based on CI env var. The suite now runs the same tests in CI and locally, maintaining parallel execution support via forks pool. --- packages/server/vitest.config.ts | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/packages/server/vitest.config.ts b/packages/server/vitest.config.ts index e1a373de6..11341e7d3 100644 --- a/packages/server/vitest.config.ts +++ b/packages/server/vitest.config.ts @@ -1,8 +1,6 @@ import path from "node:path"; import { defineConfig } from "vitest/config"; -const isCI = process.env.CI === "true"; - export default defineConfig({ resolve: { alias: { @@ -22,18 +20,6 @@ export default defineConfig({ maxForks: 4, }, }, - // Skip e2e and integration tests in CI - they require real agent binaries or cross-package imports - exclude: isCI - ? [ - "**/*.e2e.test.ts", - "**/opencode-agent.test.ts", - "**/codex-mcp-agent.test.ts", - "**/claude-agent.test.ts", - "**/claude-agent-commands.test.ts", - "**/worktree.test.ts", - "**/terminal-manager.test.ts", - "**/node_modules/**", - ] - : ["**/node_modules/**"], + exclude: ["**/node_modules/**"], }, });