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.

tools(verify): a compiled package that does not paint says how far its boot got

yhh5039d010627d
diff --git a/tools/verify-aot-parity.mjs b/tools/verify-aot-parity.mjs
index 350294ea2..15ba5e7ac 100644
--- a/tools/verify-aot-parity.mjs
+++ b/tools/verify-aot-parity.mjs
@@ -170,6 +170,11 @@ for (const g of subjects) {
: line || 'launch failed';
results.push({ id, stage: `launch-${kind}`, ok: false, why });
console.log(`✗ ${id} ${kind} — ${why}`);
+ // The launcher's own account follows its verdict (how far the boot got, the canvas, the last log lines):
+ // without it a red lane says only "painted=false", which names no place to look.
+ const lines = (r.stdout || '').split('\n');
+ const at = lines.findIndex((l) => l === line);
+ for (const l of at >= 0 ? lines.slice(at + 1) : []) if (l.trim()) console.log(` ${l}`);
broke = true;
break;
}