Files
workinf_Blender_Wasm/docs/tasks/WBV2-P1122-000.md
mes123456 f3e21c6b98
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
chore: checkpoint web Blender migration source, tools and docs
Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-10 11:18:01 +08:00

38 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# WBV2-P1122-000: engine runtime module
- task: `WBV2-P1122-000`
- parent: `WBV2-P1121-000`
- status: `in_progress`
- gap: `workflow:module_engine_runtime`
- ownerFamily: `RUNTIME`
- targetImplementationClass: `LOCAL_EXACT`
## 目标
验证 variant manifest、WASM Main ABI、fallback 和 Worker crash recovery。
## 输入与范围
- Native: `blender-5.2.0/source/blender/web_engine/web_engine_api.cpp`, `blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp`, `blender-5.2.0/source/blender/web_engine/CMakeLists.txt`
- Protocol/runtime: `web/protocol/engine-variant.ts`, `web/protocol/worker-fault.ts`, `web/protocol/save-transaction.ts`, `web/app/src/engine-client/engine-variant-bootstrap.ts`, `web/app/src/engine-client/browser-engine-variant-session.ts`, `web/app/src/engine-client/WebEngineClient.ts`, `web/app/src/workers/web-engine.worker.ts`, `web/app/src/workers/storage.worker.ts`
## 验收
```bash
npm --prefix web run test:engine-manifest-v2
npm --prefix web run test:engine-variant-selection
npm --prefix web run test:engine-variant-fallback
npm --prefix web run test:engine-variant-install
npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-native-engine-production.spec.ts tests/e2e/worker-crash-recovery.spec.ts
npm --prefix web run typecheck
```
记录 manifest/ABI 正例、malformed/mixed-version/fallback 负例、Worker crash/restart、operation-log restore 和 Chromium;不推导 pthread parity。
## 交付与回滚
- Receipt: `tests/golden/WBV2-P1122-000/module-receipt.json`
- Manifest: `tests/golden/WBV2-P1122-000/manifest.json`
- Status: `docs/status/WBV2-P1122-000.md`
- 回滚:恢复 P1121 manifest 为 queue parent。