From 33e81e2dba71556a4e24bbb2b9119158ee2ad8e7 Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Mon, 9 Feb 2026 08:49:15 -0700 Subject: [PATCH] Reduce CI workers to 1 and disable video recording in CI Single worker avoids auth rate limiting. Video recording disabled in CI to reduce overhead. --- e2e/playwright.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/playwright.config.ts b/e2e/playwright.config.ts index 1a59bbe..a4ff6bd 100644 --- a/e2e/playwright.config.ts +++ b/e2e/playwright.config.ts @@ -10,7 +10,7 @@ export default defineConfig({ fullyParallel: false, // for more controlled test execution forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 1, // Allow 1 retry locally for better reliability - workers: process.env.CI ? 1 : undefined, + workers: process.env.CI ? 1 : 4, timeout: process.env.CI ? 60 * 1000 : 45 * 1000, // Enhanced timeout hierarchy expect: { timeout: process.env.CI ? 10 * 1000 : 8 * 1000, // for assertions @@ -20,7 +20,7 @@ export default defineConfig({ testIdAttribute: 'data-test-selector', trace: 'on-first-retry', screenshot: 'only-on-failure', - video: 'retain-on-failure', + video: process.env.CI ? 'off' : 'retain-on-failure', actionTimeout: process.env.CI ? 15 * 1000 : 12 * 1000, // Optimized timeouts navigationTimeout: process.env.CI ? 30 * 1000 : 25 * 1000, // for navigation },