Rebuild local Blender WASM environment and recovery evidence
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-27 20:15:55 +08:00
parent a081c68c87
commit c2c65d3a09
376 changed files with 241951 additions and 114 deletions

View File

@@ -18,7 +18,7 @@ const laneCommands = {
["lockfile-install", "npm", ["--prefix", "web", "ci", "--ignore-scripts"]],
["typecheck", "npm", ["--prefix", "web", "run", "typecheck"]],
["lint", "npm", ["--prefix", "web", "run", "lint"]],
["unit", "npm", ["--prefix", "web", "test"]],
["unit", "node", ["tools/web/run-unit-tests.mjs"]],
["status", "npm", ["--prefix", "web", "run", "test:status-consistency"]],
["evidence-schema", "npm", ["--prefix", "web", "run", "test:release-evidence"]],
["rc-docs", "npm", ["--prefix", "web", "run", "test:rc-docs"]],
@@ -138,6 +138,9 @@ const records = [];
for (const [index, definition] of commands.entries()) {
const [id, command, args, portMode] = definition;
const env = { ...process.env, FORCE_COLOR: "0", NO_COLOR: "1" };
if (id === "unit" && !/(^|\s)--max-old-space-size(?:=|\s)/u.test(env.NODE_OPTIONS ?? "")) {
env.NODE_OPTIONS = `${env.NODE_OPTIONS ?? ""} --max-old-space-size=4096`.trim();
}
let port;
if (portMode === "browser") {
port = await freePortRange();