From d12ce65ac578c481f28d8cd9ed890de2d599d33a Mon Sep 17 00:00:00 2001 From: litruv Date: Tue, 3 Nov 2026 12:56:03 +1100 Subject: [PATCH] Revert the chromium-only install-deps: Electron needs the full dep set. (#109) --- .gitea/workflows/tests.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 8f7a2f7..12f7f07 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -60,10 +60,13 @@ jobs: working-directory: ./cinny run: npm ci --prefer-offline - # Electron needs system libraries the runner image does not ship. Chromium only: - # Electron uses the Chromium codebase, so firefox and webkit deps are not needed. + # Electron needs system libraries the runner image does not ship. Do not narrow this to + # chromium: Playwright's chromium dep set covers its own bundled browser, not Electron, + # and drops libgtk-3-0t64, libegl1, libegl-mesa0, libgles2, libsecret-1-0, libxtst6 and + # libxss1, which Electron needs to launch. Run 930 failed with "Process failed to launch!" + # on the narrowed set. - name: Install system libraries for Electron - run: npx playwright install-deps chromium + run: npx playwright install-deps # The runner image has no xvfb and no fresh apt lists. - name: Ensure a display for Electron