feat(web): persist advanced Main capability overrides
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-29 04:36:13 +08:00
parent 58c2ae046d
commit e9b9d343a1
7 changed files with 132 additions and 12 deletions

View File

@@ -13,10 +13,15 @@ const buildDir = "build_web_blender6";
const jsPath = "web/app/src/vendor/blender/web_engine.js";
const wasmPath = "web/app/src/vendor/blender/web_engine.wasm";
const logPath = `${out}/source-build.log`;
const distAssets = fs.readdirSync(abs("web/dist/assets"));
const distWorker = distAssets.find((file) => /^web-engine\.worker-.*\.js$/u.test(file));
const distWasm = distAssets.find((file) => /^web_engine-.*\.wasm$/u.test(file));
assert.ok(fs.existsSync(abs(`${buildDir}/bin/web_engine.js`)));
assert.ok(fs.existsSync(abs(`${buildDir}/bin/web_engine.wasm`)));
assert.equal(sha(`${buildDir}/bin/web_engine.js`), sha(jsPath));
assert.equal(sha(`${buildDir}/bin/web_engine.wasm`), sha(wasmPath));
assert.ok(distWorker);
assert.ok(distWasm);
const report = {
schemaVersion: 1,
task: "WBV2-P27-002",
@@ -41,6 +46,9 @@ const report = {
wasm: { path: wasmPath, sha256: sha(wasmPath) },
publicLoader: { path: "web/app/public/vendor/blender/web_engine.js", sha256: sha("web/app/public/vendor/blender/web_engine.js") },
publicWasm: { path: "web/app/public/vendor/blender/web_engine.wasm", sha256: sha("web/app/public/vendor/blender/web_engine.wasm") },
webDistIndex: { path: "web/dist/index.html", sha256: sha("web/dist/index.html") },
webDistWorker: { path: `web/dist/assets/${distWorker}`, sha256: sha(`web/dist/assets/${distWorker}`) },
webDistWasm: { path: `web/dist/assets/${distWasm}`, sha256: sha(`web/dist/assets/${distWasm}`) },
},
verification: { chromium: "DEFERRED", productionReceipts: false, malformedBoundary: false, undoRedo: false, saveReopen: false, deterministicSecondRun: false, completionOverlay: false },
inventory: { total: 6900, legacyCompleted: 281, legacyPending: 6618, effectiveCompleted: 290, effectivePending: 6609 },