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: the gate that would have caught the random open_project timeouts

esengine5bbc8e1d0889
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0d1aa8377..a9ba4a414 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -633,6 +633,19 @@ jobs:
if: matrix.shard == 1
run: pnpm --filter @estella/editor exec vitest run
+ # The authoring checks above spent months failing at random with
+ # `timeout tools/call open_project`. The cause was never the call: a main
+ # process exception put up a modal dialog, and a dialog waits for a click
+ # that an unattended run never makes, so every later call queued behind a
+ # frozen event loop while the renderer kept drawing frames.
+ - name: The crash handler must not stop the editor
+ # Work, not reporting: one shard does it for the matrix.
+ if: matrix.shard == 1
+ working-directory: desktop
+ env:
+ ELECTRON_DISABLE_SANDBOX: '1'
+ run: xvfb-run -a --server-args="-screen 0 1920x1080x24" node scripts/resilience-liveness.test.mjs
+
- name: Run MCP end-to-end
# Work, not reporting: one shard does it for the matrix.
if: matrix.shard == 1
diff --git a/desktop b/desktop
index 806e102db..b64358337 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit 806e102dba6c2dbebb0505de0fd728e678aff5c2
+Subproject commit b643583377546996d09d69803fcd7da285ea33f6
diff --git a/tools/check-electron-preconditions.mjs b/tools/check-electron-preconditions.mjs
index cb6c89ace..7512cf0a3 100644
--- a/tools/check-electron-preconditions.mjs
+++ b/tools/check-electron-preconditions.mjs
@@ -30,7 +30,8 @@ const tracked = (glob) => execFileSync('git', ['ls-files', glob], { cwd: ROOT, e
* in the private editor submodule, which cannot import from tools/; the native
* desktop render host is not Electron at all and wants xvfb for Vulkan.
*/
-const NOT_OURS = [/scripts\/editor-checks\//, /scripts\/editor-mcp/, /verify-desktop-render/];
+const NOT_OURS = [/scripts\/editor-checks\//, /scripts\/editor-mcp/,
+ /scripts\/resilience-liveness/, /verify-desktop-render/];
function sources(dir) {
const out = [];