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.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
test(sdk): airborne.test.ts is order-dependent in full-suite runs
esengine274ef1df0c86
diff --git a/sdk/tests/README.md b/sdk/tests/README.mdindex 84679f0ba..1b6088e58 100644--- a/sdk/tests/README.md+++ b/sdk/tests/README.md@@ -17,6 +17,31 @@ zero: no new diagnostics, and fixed ones must be banked so they cannot return.The networking suites (`net-*`, `replication*`, `websocket`) carry **no** debtand `--update` refuses to add any.+## Known debt++### `airborne.test.ts` is order-dependent in full-suite runs++Two of its cases (`tilts about X, which every ground clip leaves alone` and+`is far enough from every other shipped pose to be told apart`) **pass on their+own and fail in a full-suite run**:++```bash+npx vitest run sdk/tests/airborne.test.ts # 10 passed+cd sdk && npx vitest run # 2 failed+```++Four facts, so nobody investigates this as a new red:++- Isolated: green. Full suite: red. The two runs disagree about the same code.+- Reproduced on a **worktree at HEAD before the Streaming Delivery work**, and+ again with that work's own test file excluded. It predates those changes.+- **No evidence ties it to residency / prefetch / publication.** Its imports are+ gameplay, animation, timeline and ECS; nothing it reads was touched.+- The fix is to find what leaks state between files and restore isolation.+ **Widening the assertions, retrying, or pinning the execution order are not+ fixes** — they hide the leak, and the leak is what makes some other suite's+ green untrustworthy too.+## Running Tests```bashdiff --git a/sdk/tests/airborne.test.ts b/sdk/tests/airborne.test.tsindex bedc36816..e7c7d02d9 100644--- a/sdk/tests/airborne.test.ts+++ b/sdk/tests/airborne.test.ts@@ -3,6 +3,9 @@/*** The claim: a character off the ground stops looking like one standing on it.* Through the SHIPPED graph and clip — a fixture pair proves nothing about them.+ *+ * Two cases here pass alone and fail in a full-suite run, and have since before+ * the Streaming Delivery work. See "Known debt" in `sdk/tests/README.md`.*/import { describe, it, expect } from 'vitest';import { readFileSync } from 'node:fs';