From ea0d853b1bb680dff78a52df96c82358bbb9476c Mon Sep 17 00:00:00 2001 From: Will Griffin Date: Sun, 26 Jul 2026 12:13:44 -0600 Subject: [PATCH 1/2] ci: use hosted runners for public workflows --- .github/workflows/changeset-check.yml | 2 +- .github/workflows/on-pull-request.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/changeset-check.yml b/.github/workflows/changeset-check.yml index 155eb7f..50b9110 100644 --- a/.github/workflows/changeset-check.yml +++ b/.github/workflows/changeset-check.yml @@ -11,7 +11,7 @@ permissions: jobs: check: name: Check for Changeset - runs-on: arc-happyvertical + runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index 10bdcf7..e315e67 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -16,7 +16,7 @@ permissions: jobs: validate-commits: name: Validate Conventional Commits - runs-on: arc-happyvertical + runs-on: ubuntu-latest steps: - name: Checkout PR branch diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fc3959c..37eee70 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,7 +20,7 @@ jobs: release: name: Version and Publish needs: test - runs-on: arc-happyvertical + runs-on: ubuntu-latest timeout-minutes: 20 steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87cff8d..a2b16b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ permissions: jobs: test: name: Run Tests - runs-on: arc-happyvertical + runs-on: ubuntu-latest env: EXPECTED_PLAYWRIGHT_CHROMIUM_REVISION: '1228' EXPECTED_PLAYWRIGHT_VERSION: '1.61.1' From 91d0067ee7165562e2eb0957602a3db0478dcfaf Mon Sep 17 00:00:00 2001 From: Will Griffin Date: Sun, 26 Jul 2026 12:42:29 -0600 Subject: [PATCH 2/2] fix(spider): install Playwright on hosted runners --- .github/workflows/test.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a2b16b5..eebc62f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,8 +17,7 @@ jobs: env: EXPECTED_PLAYWRIGHT_CHROMIUM_REVISION: '1228' EXPECTED_PLAYWRIGHT_VERSION: '1.61.1' - PLAYWRIGHT_BROWSERS_PATH: /ms-playwright - PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1' + PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.cache/ms-playwright # Backstop so a stalled step (e.g. a hung browser download) fails fast # instead of sitting until the 6h default. timeout-minutes: 30 @@ -51,10 +50,13 @@ jobs: - name: Install dependencies run: pnpm install - # The ARC image must already contain the exact browser revision required - # by package.json. Downloads stay disabled so image/package drift fails - # immediately instead of mutating the runner. See happyvertical/iac#1000. - - name: Verify baked Playwright runtime + # Public pull requests run on GitHub-hosted capacity and cannot depend on + # the private ARC image. Playwright resolves the exact browser revision + # pinned by the lockfile before the existing runtime check verifies it. + - name: Install Playwright runtime + run: pnpm exec playwright install --with-deps chromium + + - name: Verify Playwright runtime run: pnpm browser:runtime:check - name: Build