Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

ci(verify): the second backend's blocker is the GPU process, not the adapter

yhh892c74b08aa8
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 425b7c0ee..b3f342ad8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -323,23 +323,11 @@ jobs:
# --no-build: the renderer bundle is already built two steps up.
run: node tools/verify-render.mjs --tier pr --no-build
- # Dawn reaches a GPU-less runner through Vulkan, and needs a loader to reach
- # any driver at all — which this job installed none of, so the WebGPU step
- # removed in e5485f8a7 was asking Dawn to find an adapter with nothing to
- # find. Same two packages the Linux desktop job has always used for the same
- # reason. No adapter is named: the loader picks from what is installed, and
- # the boot log says which it picked.
- - name: Install the Vulkan loader and its software driver
- run: |
- sudo apt-get update
- sudo apt-get install -y libvulkan1 mesa-vulkan-drivers
-
- - name: Run headless verify scenes on the second backend
- env:
- ESTELLA_VERIFY_WEBGPU_ADAPTER: ''
- run: |
- ls -l /usr/share/vulkan/icd.d/ || true
- xvfb-run -a node tools/verify-render.mjs --tier pr --backend webgpu --no-build
+ # No WebGPU step, and the reason has moved on from e5485f8a7's. Installing
+ # `libvulkan1` + `mesa-vulkan-drivers` does put eight ICDs on the runner,
+ # lavapipe's among them, and Dawn then comes up — the failure is no longer no
+ # adapter but the GPU process dying before any scene draws, on every retry.
+ # WEBGPU_GAP carries what a next attempt starts from.
- name: Run MCP end-to-end
working-directory: desktop
diff --git a/tools/renderScenes.mjs b/tools/renderScenes.mjs
index 2e5b82767..f8122210c 100644
--- a/tools/renderScenes.mjs
+++ b/tools/renderScenes.mjs
@@ -23,8 +23,9 @@
export const TIERS = ['pr', 'nightly'];
/** All 85 pass on Electron's bundled SwiftShader, the software adapter a GPU-less
- * runner would use — so CI's failure is that runner's Vulkan stack, not Dawn's
- * ability to drive a software rasterizer. Only the boot log names the adapter. */
+ * runner would use. On a runner given `libvulkan1` + `mesa-vulkan-drivers` Dawn
+ * finds an adapter and the GPU process then dies before drawing — the sandbox is
+ * the next thing to try. Only the boot log names the adapter. */
export const WEBGPU_GAP = 'no step runs these on CI; all 85 passed on SwiftShader on 2026-08-17'
+ ' (`--tier nightly --backend webgpu`)';