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(editor): the disk failure gets an instrument at the point it happens

esengine9e695b88c710
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4158e1749..1c0aa0943 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -389,6 +389,17 @@ jobs:
ELECTRON_DISABLE_SANDBOX: '1'
run: xvfb-run -a node tools/verify-render.mjs --tier pr --host editor --no-build --budget 10
+ # The job has died here twice with "No space left on device", and a runner with
+ # no disk cannot write the log that would say what filled it. The `df` at the
+ # top proves the job STARTS with ~100GB; this one is where it is gone by, and
+ # the biggest directories under it are the only thing that names the culprit.
+ - name: Say what is left, and what took it
+ if: always()
+ run: |
+ df -h /
+ du -x -h -d 2 /home/runner 2>/dev/null | sort -rh | head -25 || true
+ du -x -h -d 1 /tmp 2>/dev/null | sort -rh | head -10 || true
+
# Both are DEEPER oracles the Android tests skip when absent, so fetching them
# must not be able to cost more than they are worth. Unbounded, this step hung
# for 38 minutes and took the job's whole budget with it — and a job killed at