Files
workinf_Blender_Wasm/docs/tasks/WBV2-P1140-001.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

43 lines
2.1 KiB
Markdown

# WBV2-P1140-001: verify ActionGroup reader
- task: WBV2-P1140-001
- parent: WBV2-P1140-000
- status: in_progress
- gap: workflow:action_group_reader
- ownerFamily: ANIMATION
- targetImplementationClass: LOCAL_EXACT
- moduleId: ACTION_GROUP_READER
- Implementation entrypoint: `node tools/web/run-wbv2-module-task.mjs --task WBV2-P1140-001 --write`
## 目标
验证 Blender Main 的 ActionGroup 元数据在 Chromium recovery/save-reopen 中保持一致。
## 输入与范围
- `blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp`
- `web/protocol/scene-ir.ts`
- `web/app/src/workers/web-engine.worker.ts`
- `web/app/src/engine-client/WebEngineClient.ts`
- `web/tests/e2e/wbv2-action-group-reader-production.spec.ts`
- `web/app/src/vendor/blender/web_engine.wasm`
- RNA: `blender-5.2.0/source/blender/makesrna/intern/rna_action.cc` (ActionGroup)
- Fixture: `tests/files/web/generated/M16-GAP-00161-operator-anim.channels_group.blend`
- Production test: `web/tests/e2e/wbv2-action-group-reader-production.spec.ts`
## 验收
- Positive: ActionGroup Main reader exposes group and expanded metadata, three grouped location F-Curves remain grouped, save/reopen preserves group metadata
- Negative: malformed blend is rejected without Main mutation, missing animation target is fail-closed, unsupported group payload is not synthesized
- Recovery: undo, redo, save/reopen, worker termination and deterministic group state
- Commands:
- `source tools/web/emscripten-env.sh && cmake --build build_web_blender6 --target web_engine -- -j8 && cp build_web_blender6/bin/web_engine.wasm web/app/src/vendor/blender/web_engine.wasm && cp build_web_blender6/bin/web_engine.wasm web/app/public/vendor/blender/web_engine.wasm`
- `npm --prefix web run typecheck`
- `npm --prefix web run build`
- `WEB_TEST_PORT=5356 npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-action-group-reader-production.spec.ts`
- JS simulation is forbidden; all behavior must come from Blender Main/WASM.
## 交付与回滚
- Receipt: `tests/golden/WBV2-P1140-001/module-receipt.json`; Manifest: `tests/golden/WBV2-P1140-001/manifest.json`; Status: `docs/status/WBV2-P1140-001.md`.