From 62ae4bc890e764b0e57d6b305a816370adbf1ee2 Mon Sep 17 00:00:00 2001 From: Jeppe Bundgaard Date: Mon, 6 Jul 2026 18:33:44 +0200 Subject: [PATCH] [codex] Move PR E2E to hosted runners --- .github/workflows/tests.yml | 4 ++-- tests/unit/playwright-full-workflow.spec.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 37242dae..cbc0ea6a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -101,11 +101,11 @@ jobs: if: github.event_name != 'schedule' needs: build-and-unit name: E2E-pr-${{ matrix.suite }}-${{ matrix.project }} - runs-on: [self-hosted, Linux, X64, pleno, frontend, docker] + runs-on: ubuntu-latest timeout-minutes: 30 strategy: fail-fast: false - max-parallel: 1 + max-parallel: 4 matrix: suite: [core, changed] project: [chromium-desktop, chromium-mobile] diff --git a/tests/unit/playwright-full-workflow.spec.js b/tests/unit/playwright-full-workflow.spec.js index 6ba3fdac..9b0ee21e 100644 --- a/tests/unit/playwright-full-workflow.spec.js +++ b/tests/unit/playwright-full-workflow.spec.js @@ -43,7 +43,8 @@ describe("Playwright full E2E workflow grouping", () => { it("keeps PR E2E runner pressure bounded and diagnosable", () => { const source = workflowSource(); - expect(source).toMatch(/e2e-pr:[\s\S]*?max-parallel: 1/u); + expect(source).toMatch(/e2e-pr:[\s\S]*?runs-on: ubuntu-latest/u); + expect(source).toMatch(/e2e-pr:[\s\S]*?max-parallel: 4/u); expect(source).toMatch(/e2e-pr:[\s\S]*?PLAYWRIGHT_WORKERS: 1/u); expect(source).toMatch(/e2e-pr:[\s\S]*?PLAYWRIGHT_VIDEO_MODE: on-first-retry/u); expect(source).toMatch(/e2e-pr:[\s\S]*?--env PLAYWRIGHT_WORKERS="\$PLAYWRIGHT_WORKERS"/u);