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(gates): driving the third-person character is a nightly question

yhh0784930f81cd
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 08f0bb1a3..4cfe7854d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -629,7 +629,10 @@ jobs:
name: Packages (golden + released)
runs-on: ubuntu-latest
needs: build-emscripten
- timeout-minutes: 30
+ # 30 was sized when this job took 11.3 min end to end. The golden step alone
+ # is 14m37s now that third-person-3d settles instead of failing at 30 s, and
+ # the streamed-world step below has never once run. Room to find out.
+ timeout-minutes: 45
steps:
- uses: actions/checkout@v7
@@ -665,12 +668,6 @@ jobs:
- name: Launch the golden packages and compare them to the editor (PR tier)
run: node tools/verify-golden.mjs --tier pr
- # What the third-person character DOES in that package: the ramp it climbs,
- # the step it crosses, the wall that stops it. A frame that differs says
- # something moved; only the world's own answer says it was allowed to.
- - name: Drive the third-person character in its package
- run: node tools/verify-third-person.mjs
-
# Which places EXIST in that package, and what leaves with them. A camera
# cannot answer this: a cell that is not drawn and a cell that is not there
# look the same, and a body an unload forgot is invisible until someone
diff --git a/tools/releaseGate.mjs b/tools/releaseGate.mjs
index f67850147..7029ecc4c 100644
--- a/tools/releaseGate.mjs
+++ b/tools/releaseGate.mjs
@@ -58,6 +58,15 @@ export const CRITERIA = [
answeredBy: 'node tools/verify-golden.mjs --tier release --jobs 3',
needs: ['tools/launchers/inputScript.mjs'],
},
+ {
+ id: 'a-character-may-only-do-what-the-world-allows',
+ says: 'a packaged third-person character climbs, is stopped, and lands where its world says',
+ // 29 launches over 2440 rendered frames — the arena costs about 1.4 s a frame
+ // on a runner with no GPU, so this is a nightly question. It sat in the push
+ // gate behind a step that always failed first, and never once ran there.
+ answeredBy: 'node tools/verify-third-person.mjs',
+ needs: ['tools/verify-third-person.mjs', 'examples/third-person-3d/project.esproject'],
+ },
{
id: '3d-runs-where-it-ships',
host: 'android',