Skip to content

Commit 21ec3d6

Browse files
authored
fix(e2e): reduce playwright workers for staging to avoid FAPI rate limiting (#8132)
1 parent 524b32f commit 21ec3d6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/e2e-staging.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ jobs:
213213
env:
214214
E2E_DEBUG: '1'
215215
E2E_STAGING: '1'
216+
E2E_WORKERS: '2'
216217
E2E_SDK_SOURCE: ${{ steps.inputs.outputs.sdk-source }}
217218
E2E_APP_CLERK_JS_DIR: ${{ runner.temp }}
218219
E2E_APP_CLERK_UI_DIR: ${{ runner.temp }}

integration/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const common: PlaywrightTestConfig = {
1414
forbidOnly: !!process.env.CI,
1515
retries: process.env.CI ? 5 : 0,
1616
maxFailures: process.env.CI ? 5 : undefined,
17-
workers: process.env.CI ? '50%' : '70%',
17+
workers: process.env.E2E_WORKERS || (process.env.CI ? '50%' : '70%'),
1818
use: {
1919
actionTimeout: 10_000,
2020
navigationTimeout: 30_000,

0 commit comments

Comments
 (0)