mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 09:42:53 +00:00
Eight Playwright shards with two workers each, format/lint/relay/sdk combined into one routed quality job, Windows server integration in its own job, cancel-in-progress on every ref, one vitest start for the filtered integration files, no fan-in gate, and a deadline for the heap-bound directory search test that covers its 27,000-directory fixture on Windows. First run on the Team plan: 19m48s from creation to last job with zero queue, all 21 jobs green, 224 runner-minutes. The same workflow under the old 20-job cap finished in 58 minutes with up to 40 minutes of queue per job.
25 lines
677 B
TypeScript
25 lines
677 B
TypeScript
import path from "node:path";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@server": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
test: {
|
|
// Fake-timer suites freeze p-throttle's clock, so a real per-second cap deadlocks them.
|
|
env: {
|
|
PASEO_GIT_MAX_PROCESSES_PER_SECOND: "10000",
|
|
},
|
|
testTimeout: 30000,
|
|
hookTimeout: 60000,
|
|
globals: true,
|
|
environment: "node",
|
|
setupFiles: [path.resolve(__dirname, "./src/test-utils/vitest-setup.ts")],
|
|
pool: "forks",
|
|
fileParallelism: false,
|
|
exclude: ["**/node_modules/**", "**/dist/**", "**/.claude/**", "**/.dev/**"],
|
|
},
|
|
});
|