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: split the two steps that were never finishing, instead of cutting them

esengine061e41983542
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ae18ce582..0d1aa8377 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -404,6 +404,15 @@ jobs:
name: Editor authoring checks
runs-on: ubuntu-latest
needs: build-emscripten
+ # Seventy checks at forty-odd seconds each is fifty minutes in a row, and the
+ # cap below is forty-five: the list was CUT OFF rather than finished, and the
+ # four steps after it had therefore never run at all. Split by position, four
+ # ways. `fail-fast: false` because one shard's failure must not take the
+ # others' answers with it — the whole point is to see the whole list.
+ strategy:
+ fail-fast: false
+ matrix:
+ shard: [1, 2, 3, 4]
# The window the editor opens is what its viewport measures, and several of
# these checks measure the viewport. Pinned here rather than left to the
# runner: main.ts wants 1480x920, and on a screen narrower than that the
@@ -514,7 +523,7 @@ jobs:
working-directory: desktop
env:
ELECTRON_DISABLE_SANDBOX: '1'
- run: xvfb-run -a --server-args="-screen 0 1920x1080x24" node scripts/editor-checks/run.mjs
+ run: xvfb-run -a --server-args="-screen 0 1920x1080x24" node scripts/editor-checks/run.mjs --shard ${{ matrix.shard }}/4
# Between the two heavy steps, so the disk each one costs is attributable.
# The report at the bottom cannot do that, and it is the report that dies
@@ -556,6 +565,8 @@ jobs:
# step with no ceiling spent the job's whole 30 minutes and was killed with
# nothing written. A budget reports what it measured and names what it did not.
- name: Run the editor's pixel gates
+ # Work, not reporting: one shard does it for the matrix.
+ if: matrix.shard == 1
run: node tools/verify-render.mjs --tier pr --host editor --no-build --budget 10
# A run that dies of ENOSPC uploads NO log — this job's last failure lost every
@@ -600,6 +611,8 @@ jobs:
# for 38 minutes and took the job's whole budget with it — and a job killed at
# its ceiling writes no log. Each failure now says which assertions it costs.
- name: Set up the Android packaging oracles
+ # Work, not reporting: one shard does it for the matrix.
+ if: matrix.shard == 1
timeout-minutes: 6
run: |
pip install --quiet --timeout 30 --retries 2 androguard \
@@ -616,9 +629,13 @@ jobs:
# checkout — `pnpm --filter` prints "No projects matched" and exits 0, so the
# job reported success having run none of them.
- name: Run Desktop tests
+ # Work, not reporting: one shard does it for the matrix.
+ if: matrix.shard == 1
run: pnpm --filter @estella/editor exec vitest run
- name: Run MCP end-to-end
+ # Work, not reporting: one shard does it for the matrix.
+ if: matrix.shard == 1
working-directory: desktop
env:
ELECTRON_DISABLE_SANDBOX: '1'
@@ -666,8 +683,12 @@ jobs:
# against the editor's own frame of the same game. Exporting was checked and
# the engine was checked; the package never was — and "it launched" is not the
# claim, since a build that boots to its rotate-to-portrait gate launches fine.
+ # `--jobs`, which this call never passed: the runner has four cores and the
+ # projects were packaged and launched one at a time, so the step grew past the
+ # job's own cap and the whole matrix was killed for a queue, not for work.
+ # The splitter is the script's own and balances by what a project asks for.
- name: Launch the golden packages and compare them to the editor (PR tier)
- run: node tools/verify-golden.mjs --tier pr
+ run: node tools/verify-golden.mjs --tier pr --jobs 3
# A parity failure is a claim about two PICTURES, and until now neither left
# the runner: "the package is not showing what the editor showed" named two
diff --git a/desktop b/desktop
index c56a2361c..65cee1f76 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit c56a2361cd0e29d6b87937fcf9836e10842da7e4
+Subproject commit 65cee1f766e7b31b62fc9195b5326bf2ac5d93a3