Skip to content

Commit 2d7e9f5

Browse files
ci: run vscode e2e on one worker
Two workers each start code-server, Chromium, and a SQLMesh virtualenv. On this PR the hosted runner lost communication during that step and uploaded no logs. One worker keeps the suite inside the runner's memory, with a 60 minute cap. Signed-off-by: Nick Muoh <nickspirit3+github@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 105abd5 commit 2d7e9f5

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎.github/workflows/pr.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,8 @@ jobs:
488488
run: pnpm exec playwright install
489489
- name: Run e2e tests
490490
working-directory: ./vscode/extension
491-
timeout-minutes: 30
491+
# CI runs one worker. That needs a longer cap than the old 30 minutes.
492+
timeout-minutes: 60
492493
run: |
493494
source ../../.venv/bin/activate
494495
pnpm run test:e2e

‎vscode/extension/playwright.config.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ export default defineConfig({
88
timeout: 180_000,
99
// TODO: When stable, allow retries in CI
1010
retries: process.env.CI ? 2 : 0,
11-
workers: process.env.CI ? 2 : 4,
11+
// One worker on CI. Two workers each start code-server, Chromium, and a
12+
// SQLMesh virtualenv, which starved a GitHub-hosted runner until it lost
13+
// communication with the service.
14+
workers: process.env.CI ? 1 : 4,
1215
reporter: [['html', { outputFolder: 'playwright-report' }], ['list']],
1316
projects: [
1417
{

0 commit comments

Comments
 (0)