From 52dfbd2eed3cb0c05b691da16c15caff5d830ebc Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Wed, 23 Sep 2026 02:44:17 -0700 Subject: [PATCH] ci: run tests/e2e per-file in parallel with a 30-minute budget The core E2E suites spawn real processes (serve, gateway, tui_gateway, MCP servers, concurrent SQLite writers). One subprocess per file keeps them isolated and parallel instead of one sequential pytest. --- .github/workflows/tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0f2a221f67..9e82ba34c0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -152,7 +152,7 @@ jobs: e2e: runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 30 steps: - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -212,9 +212,12 @@ jobs: run: uv cache prune --ci - name: Run e2e tests + # One subprocess per file, in parallel: the core suites spawn real + # processes (serve, gateway, tui_gateway, MCP servers, SQLite writers) + # and must not share interpreter state. run: | source .venv/bin/activate - python -m pytest tests/e2e/ -v --tb=short + scripts/run_tests.sh --include-integration tests/e2e env: OPENROUTER_API_KEY: "" OPENAI_API_KEY: ""