From dc0856282f75e51b038730f2453dcc3c61394800 Mon Sep 17 00:00:00 2001 From: Siddharth Date: Sun, 5 Apr 2026 16:14:34 -0700 Subject: [PATCH] fix: add --enable-unsafe-swiftshader to e2e test for CI WebGL support The headless CI environment fails to create valid WebGL framebuffers, causing PixiJS pixel reads to fail silently and GIF export to hang. SwiftShader provides a software WebGL implementation that works reliably. --- tests/e2e/gif-export.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/e2e/gif-export.spec.ts b/tests/e2e/gif-export.spec.ts index 0ff0b77..132a6dd 100644 --- a/tests/e2e/gif-export.spec.ts +++ b/tests/e2e/gif-export.spec.ts @@ -18,6 +18,8 @@ test("exports a GIF from a loaded video", async () => { MAIN_JS, // Required in CI sandbox environments (GitHub Actions, Docker, etc.) "--no-sandbox", + // Force software WebGL in headless CI to avoid GPU framebuffer errors. + "--enable-unsafe-swiftshader", ], env: { ...process.env,