Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ jobs:
- run: npm ci --no-audit --no-fund
- run: npm run lint
- run: npm run typecheck
- run: npm test
# Limited parallelism: several test files start headless Chrome or MCP servers.
- run: npm run test:ci
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"mcp:elos": "node --experimental-strip-types --no-warnings --import ./tests/register-loader.mjs mcp/elos-server.ts",
"typecheck": "tsc --noEmit",
"test": "node --test --experimental-strip-types --import ./tests/register-loader.mjs \"tests/unit/**/*.test.ts\" \"tests/integration/**/*.test.ts\" \"tests/integration/**/*.test.cjs\"",
"test:ci": "node --test --test-concurrency=2 --experimental-strip-types --import ./tests/register-loader.mjs \"tests/unit/**/*.test.ts\" \"tests/integration/**/*.test.ts\" \"tests/integration/**/*.test.cjs\"",
"validate:v1:local": "node scripts/validate-v1-local.mjs",
"db:push": "prisma db push",
"db:setup:local": "node scripts/setup-local-db.mjs",
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/learning-history/browser-driver.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class DevTools {
send(method, params = {}, sessionId = undefined) {
const id = ++this.sequence;
return new Promise((resolve, reject) => {
const timeout = setTimeout(() => { this.pending.delete(id); reject(new Error("CDP timeout: " + method)); }, 60000);
const timeout = setTimeout(() => { this.pending.delete(id); reject(new Error("CDP timeout: " + method)); }, 180000); // large 10k-event round-trips are slow on small CI runners
this.pending.set(id, { resolve, reject, timeout });
this.socket.send(JSON.stringify({ id, method, params, ...(sessionId ? { sessionId } : {}) }));
});
Expand Down
Loading