From 54d1563cf35d1a025dd237964af4d5a05ce1bd6c Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Thu, 12 Mar 2026 11:13:33 +0100 Subject: [PATCH 1/5] ci: run WPT tests on a dedicated server --- .github/workflows/wpt.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/wpt.yml b/.github/workflows/wpt.yml index 5b6f9f9f..b14f3c76 100644 --- a/.github/workflows/wpt.yml +++ b/.github/workflows/wpt.yml @@ -19,8 +19,12 @@ jobs: wpt-build-release: name: zig build release - runs-on: ubuntu-latest - timeout-minutes: 15 + env: + ARCH: aarch64 + OS: linux + + runs-on: ubuntu-24.04-arm + timeout-minutes: 20 steps: - uses: actions/checkout@v6 @@ -28,9 +32,15 @@ jobs: fetch-depth: 0 - uses: ./.github/actions/install + with: + os: ${{env.OS}} + arch: ${{env.ARCH}} + + - name: v8 snapshot + run: zig build -Dprebuilt_v8_path=v8/libc_v8.a -Doptimize=ReleaseFast snapshot_creator -- src/snapshot.bin - name: zig build release - run: zig build -Dprebuilt_v8_path=v8/libc_v8.a -Doptimize=ReleaseFast -Dcpu=x86_64 -Dgit_commit=$(git rev-parse --short ${{ github.sha }}) + run: zig build -Dsnapshot_path=../../snapshot.bin -Dprebuilt_v8_path=v8/libc_v8.a -Doptimize=ReleaseFast -Dcpu=generic -Dgit_commit=$(git rev-parse --short ${{ github.sha }}) - name: upload artifact uses: actions/upload-artifact@v7 @@ -43,7 +53,7 @@ jobs: wpt-build-runner: name: build wpt runner - runs-on: ubuntu-latest + runs-on: ubuntu-24.04-arm timeout-minutes: 15 steps: @@ -71,7 +81,7 @@ jobs: - wpt-build-runner # use a self host runner. - runs-on: lpd-bench-hetzner + runs-on: lpd-wpt-aws timeout-minutes: 180 steps: From f4352979493a60583f8698988077e86270135c90 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Thu, 12 Mar 2026 11:14:44 +0100 Subject: [PATCH 2/5] ci: adjust WPT daily start time --- .github/workflows/wpt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wpt.yml b/.github/workflows/wpt.yml index b14f3c76..8de846b4 100644 --- a/.github/workflows/wpt.yml +++ b/.github/workflows/wpt.yml @@ -10,7 +10,7 @@ env: on: schedule: - - cron: "23 2 * * *" + - cron: "21 2 * * *" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From 78440350dc6c5ea9b275060d8739cd72139def66 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Thu, 12 Mar 2026 15:26:23 +0100 Subject: [PATCH 3/5] ci: slow down execution --- .github/workflows/wpt.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wpt.yml b/.github/workflows/wpt.yml index 8de846b4..7e542458 100644 --- a/.github/workflows/wpt.yml +++ b/.github/workflows/wpt.yml @@ -82,7 +82,7 @@ jobs: # use a self host runner. runs-on: lpd-wpt-aws - timeout-minutes: 180 + timeout-minutes: 240 steps: - uses: actions/checkout@v6 @@ -116,7 +116,7 @@ jobs: run: | ./wpt serve 2> /dev/null & echo $! > WPT.pid sleep 10s - ./wptrunner -lpd-path ./lightpanda -json -concurrency 10 -pool 3 > wpt.json + ./wptrunner -lpd-path ./lightpanda -json -concurrency 6 -pool 2 > wpt.json kill `cat WPT.pid` - name: write commit From fb29a1c5bfa760ffded2869ea8e8adef203233a5 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Fri, 13 Mar 2026 10:21:21 +0100 Subject: [PATCH 4/5] ci: adjust wpt serve wait time --- .github/workflows/wpt.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wpt.yml b/.github/workflows/wpt.yml index 7e542458..e5b7095d 100644 --- a/.github/workflows/wpt.yml +++ b/.github/workflows/wpt.yml @@ -82,7 +82,7 @@ jobs: # use a self host runner. runs-on: lpd-wpt-aws - timeout-minutes: 240 + timeout-minutes: 600 steps: - uses: actions/checkout@v6 @@ -115,7 +115,7 @@ jobs: - name: run test with json output run: | ./wpt serve 2> /dev/null & echo $! > WPT.pid - sleep 10s + sleep 20s ./wptrunner -lpd-path ./lightpanda -json -concurrency 6 -pool 2 > wpt.json kill `cat WPT.pid` From 8c5e7376697100b7fe86f963e49f533d6bcf28bd Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Sat, 14 Mar 2026 10:49:48 +0100 Subject: [PATCH 5/5] ci: use mem-limit with wptrunner --- .github/workflows/wpt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wpt.yml b/.github/workflows/wpt.yml index e5b7095d..01f367e8 100644 --- a/.github/workflows/wpt.yml +++ b/.github/workflows/wpt.yml @@ -116,7 +116,7 @@ jobs: run: | ./wpt serve 2> /dev/null & echo $! > WPT.pid sleep 20s - ./wptrunner -lpd-path ./lightpanda -json -concurrency 6 -pool 2 > wpt.json + ./wptrunner -lpd-path ./lightpanda -json -concurrency 5 -pool 5 --mem-limit 400 > wpt.json kill `cat WPT.pid` - name: write commit