Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
ci: enable playwright sharding and native test runner parallelization
diegosouzapw726673f926f3
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex ecf709d9fc..fd29a5af93 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -316,10 +316,14 @@ jobs:}test-e2e:- name: E2E Tests+ name: E2E Tests (${{ matrix.shard }}/4)runs-on: ubuntu-latest- timeout-minutes: 45+ timeout-minutes: 15needs: build+ strategy:+ fail-fast: false+ matrix:+ shard: [1, 2, 3, 4]env:JWT_SECRET: ci-test-secret-with-sufficient-length-for-validationAPI_KEY_SECRET: ci-test-api-key-secret-long@@ -332,7 +336,7 @@ jobs:- run: npm ci- run: npx playwright install --with-deps chromium- run: npm run build- - run: npm run test:e2e+ - run: npx playwright test tests/e2e/*.spec.ts --shard=${{ matrix.shard }}/4test-integration:name: Integration Testsdiff --git a/package.json b/package.jsonindex cfa8f2526c..0b9ed4da4a 100644--- a/package.json+++ b/package.json@@ -56,8 +56,8 @@"electron:build:win": "npm run build && cd electron && npm run build:win","electron:build:mac": "npm run build && cd electron && npm run build:mac","electron:build:linux": "npm run build && cd electron && npm run build:linux",- "test": "cross-env DISABLE_SQLITE_AUTO_BACKUP=true node --import tsx/esm --test --test-concurrency=1 tests/unit/*.test.mjs",- "test:unit": "cross-env DISABLE_SQLITE_AUTO_BACKUP=true node --import tsx/esm --test --test-concurrency=1 tests/unit/*.test.mjs",+ "test": "cross-env DISABLE_SQLITE_AUTO_BACKUP=true node --import tsx/esm --test tests/unit/*.test.mjs",+ "test:unit": "cross-env DISABLE_SQLITE_AUTO_BACKUP=true node --import tsx/esm --test tests/unit/*.test.mjs","test:plan3": "cross-env DISABLE_SQLITE_AUTO_BACKUP=true node --import tsx/esm --test tests/unit/plan3-p0.test.mjs","test:fixes": "cross-env DISABLE_SQLITE_AUTO_BACKUP=true node --import tsx/esm --test tests/unit/fixes-p1.test.mjs","test:security": "cross-env DISABLE_SQLITE_AUTO_BACKUP=true node --import tsx/esm --test tests/unit/security-fase01.test.mjs",@@ -72,7 +72,7 @@"test:protocols:e2e": "node scripts/run-protocol-clients-tests.mjs","test:vitest": "vitest run --config vitest.mcp.config.ts","test:ecosystem": "node scripts/run-ecosystem-tests.mjs",- "test:coverage": "c8 --output-dir coverage --exclude=tests/** --exclude=**/*.test.* --reporter=text-summary --reporter=html --reporter=json-summary --reporter=lcov --check-coverage --statements 60 --lines 60 --functions 60 --branches 60 node --import tsx/esm --test --test-concurrency=1 tests/unit/*.test.mjs",+ "test:coverage": "c8 --output-dir coverage --exclude=tests/** --exclude=**/*.test.* --reporter=text-summary --reporter=html --reporter=json-summary --reporter=lcov --check-coverage --statements 60 --lines 60 --functions 60 --branches 60 node --import tsx/esm --test tests/unit/*.test.mjs","test:coverage:legacy": "c8 --output-dir coverage --exclude=open-sse --check-coverage --lines 50 --functions 50 --branches 50 node --import tsx/esm --test tests/unit/*.test.mjs","coverage:report": "c8 report --output-dir coverage --exclude=tests/** --exclude=**/*.test.* --reporter=text --reporter=text-summary --reporter=html --reporter=json-summary --reporter=lcov","coverage:summary": "node scripts/test-report-summary.mjs --input coverage/coverage-summary.json --output coverage/coverage-report.md --threshold 60",