From a8f38a1b521c15efd999579744890e8062761755 Mon Sep 17 00:00:00 2001 From: not-matthias Date: Thu, 5 Nov 2026 12:32:17 +0100 Subject: [PATCH 1/3] ci: move macro jobs to the x64 macro runner Switch codspeed-walltime and electron-e2e from codspeed-macro to codspeed-macro-x64-ryzen-9950x-ubuntu-24-04. --- .github/workflows/codspeed.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 4fb45d50..863b1a3c 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -69,7 +69,7 @@ jobs: codspeed-walltime: name: Run CodSpeed walltime - runs-on: "codspeed-macro" + runs-on: codspeed-macro-x64-ryzen-9950x-ubuntu-24-04 steps: - uses: "actions/checkout@v4" with: @@ -83,7 +83,7 @@ jobs: - name: Restore turbo cache uses: ./.github/actions/turbo-cache # The native addon prebuild links against the host's libstdc++, which - # Turbo does not hash; keep GitHub's arm64 runners' builds out. + # Turbo does not hash; keep GitHub-hosted x64 runners' builds out. with: key-suffix: codspeed-macro - run: pnpm install --frozen-lockfile --prefer-offline @@ -136,7 +136,7 @@ jobs: electron-e2e: name: Run electron inbox e2e - runs-on: codspeed-macro + runs-on: codspeed-macro-x64-ryzen-9950x-ubuntu-24-04 steps: - name: Checkout uses: actions/checkout@v6 From 6b3f9f77c71794e3ef420569ca69781d6815769e Mon Sep 17 00:00:00 2001 From: not-matthias Date: Thu, 5 Nov 2026 12:37:17 +0100 Subject: [PATCH 2/3] ci: run electron e2e on the latest runner Drop the v4.17.7-alpha.2 pin. Current runner releases still support the samply walltime profiler. --- .github/workflows/codspeed.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 863b1a3c..52487ae3 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -190,4 +190,4 @@ jobs: working-directory: examples/with-electron-and-walltime run: xvfb-run -a pnpm bench:electron mode: walltime - runner-version: v4.17.7-alpha.2 + runner-version: latest From d24bcbc6b0a7fabfd55873e1d56ecc5d25c25e25 Mon Sep 17 00:00:00 2001 From: not-matthias Date: Thu, 5 Nov 2026 14:13:42 +0100 Subject: [PATCH 3/3] ci: keep Electron shared memory out of /dev/shm in the e2e example --- .../with-electron-and-walltime/apps/electron/test/inbox.e2e.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/with-electron-and-walltime/apps/electron/test/inbox.e2e.ts b/examples/with-electron-and-walltime/apps/electron/test/inbox.e2e.ts index 0ec20d59..9101407a 100644 --- a/examples/with-electron-and-walltime/apps/electron/test/inbox.e2e.ts +++ b/examples/with-electron-and-walltime/apps/electron/test/inbox.e2e.ts @@ -30,6 +30,8 @@ await bench( kind: "electron", appPath: path.join(appRoot, "out/main/index.js"), cwd: appRoot, + // Keep Chromium's shared memory in /tmp: CI runners may lack /dev/shm. + electronArgs: ["--disable-dev-shm-usage"], }, beforeRound: async ({ page }) => { page.setDefaultTimeout(180_000);