Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

ci(platform): install Playwright's Chromium without apt, so a slow Ubuntu mirror can't time out CI (#15973)

Reinier van der Leer3416eb02e871
diff --git a/.github/workflows/platform-frontend-ci.yml b/.github/workflows/platform-frontend-ci.yml
index ddd84cfb0f..382b3f0a61 100644
--- a/.github/workflows/platform-frontend-ci.yml
+++ b/.github/workflows/platform-frontend-ci.yml
@@ -43,7 +43,7 @@ defaults:
jobs:
tooltip-browser:
runs-on: ubuntu-latest
- timeout-minutes: 10
+ timeout-minutes: 11
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
@@ -57,7 +57,9 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Chromium
- run: pnpm exec playwright install --with-deps chromium
+ # No --with-deps: the runner image already has Chromium's libraries, and the
+ # apt fetch it adds can outlast the job's timeout when Ubuntu's mirror is slow.
+ run: pnpm exec playwright install chromium
- name: Test tooltip browser interactions
run: pnpm test:tooltip
- name: Upload browser failure artifacts
diff --git a/.github/workflows/platform-fullstack-ci.yml b/.github/workflows/platform-fullstack-ci.yml
index 5dfb9983fa..5426309813 100644
--- a/.github/workflows/platform-fullstack-ci.yml
+++ b/.github/workflows/platform-fullstack-ci.yml
@@ -429,7 +429,9 @@ jobs:
run: pnpm install --frozen-lockfile --prefer-offline
- name: Set up tests - Install browser 'chromium'
- run: pnpm playwright install --with-deps chromium
+ # No --with-deps: the runner image already has Chromium's libraries, and the
+ # apt fetch it adds took up to 16 minutes when Ubuntu's mirror was slow.
+ run: pnpm playwright install chromium
- name: Wait for backend image build and database
wait: [platform-build-backend, database]