chore(web): continuous handoff WBV2-P1156-001
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
| 字段 | 值 |
|
||||
| --- | --- |
|
||||
| 里程碑 | WBV2 capability workflow |
|
||||
| 当前任务 | `WBV2-P1155-001` |
|
||||
| parent manifest | `tests/golden/WBV2-P1155-000/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P1155-001.md`](tasks/WBV2-P1155-001.md) |
|
||||
| 当前任务 | `WBV2-P1156-001` |
|
||||
| parent manifest | `tests/golden/WBV2-P1156-000/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P1156-001.md`](tasks/WBV2-P1156-001.md) |
|
||||
| 专项验收 | `node tools/web/check-execution-control-plane.mjs` |
|
||||
| legacy coverage checkpoint | `M16-GAP-00282` |
|
||||
| legacy coverage parent | `tests/golden/M16-GAP-00281/manifest.json` |
|
||||
|
||||
9
docs/status/WBV2-P1156-001.md
Normal file
9
docs/status/WBV2-P1156-001.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# WBV2-P1156-001 status
|
||||
|
||||
- task: `WBV2-P1156-001`; module: `MODIFIER_VOLUME_DISPLACE_BATCH`; status: `done`
|
||||
- source hashes stable: `true`; commands passed: `4`
|
||||
- existing production evidence reused: `false`; skipped commands: `0`
|
||||
- positive Main mutation, negative no-mutation, recovery and Chromium gates are recorded in the module receipt
|
||||
- dynamic source inventory: `3745` units; verified `466`; unverified `3279`; planning estimate `5200` (non-binding); this-segment binding delta: `2`
|
||||
- historical 6900-entry inventory remains read-only; full-family parity: `false`
|
||||
- nextTask: `NONE`
|
||||
45
docs/tasks/WBV2-P1156-001.md
Normal file
45
docs/tasks/WBV2-P1156-001.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# WBV2-P1156-001: verify volume displace modifier reader
|
||||
|
||||
- task: WBV2-P1156-001
|
||||
- parent: WBV2-P1156-000
|
||||
- status: in_progress
|
||||
- gap: capability:MODIFIER_VOLUME_DISPLACE_BATCH
|
||||
- ownerFamily: MODIFIER
|
||||
- targetImplementationClass: LOCAL_EXACT
|
||||
- Implementation entrypoint: `node tools/web/run-wbv2-module-task.mjs --task WBV2-P1156-001 --write`
|
||||
|
||||
## 目标
|
||||
|
||||
以一个共享 Blender Main reader、WASM build、Worker 路由和 Chromium receipt 批量验证 MOD_volume_displace 的真实 modifier/RNA 元数据。
|
||||
|
||||
## 输入与范围
|
||||
|
||||
- Blender modifier sources: `blender-5.2.0/source/blender/modifiers/intern/`
|
||||
- RNA source: `blender-5.2.0/source/blender/makesrna/intern/rna_modifier.cc`
|
||||
- Native reader: `blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp`
|
||||
- Fixtures: `tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend`
|
||||
- Chromium test: `web/tests/e2e/wbv2-modifier-reader-multi-fixture-production.spec.ts`
|
||||
- Selected modifier units: `modifier-source:MOD_volume_displace`
|
||||
- Selected RNA units: `rna-struct:VolumeDisplaceModifier`
|
||||
|
||||
## 验收
|
||||
|
||||
- one shared Main/WASM/Worker/Chromium chain observes every selected type
|
||||
- malformed input is rejected without Main mutation
|
||||
- save/reopen and deterministic second read are exact
|
||||
- only Chromium is used; JS simulation and per-API duplicate workers are forbidden
|
||||
- each selected source unit receives an explicit hash-bound coverage binding
|
||||
- `node tools/web/check-task-context.mjs --task WBV2-P1156-001 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- any missing source, unsupported type, hash drift, malformed data or non-exact recovery keeps the batch `in_progress`/`blocked`
|
||||
- partial batch success never claims the omitted family; historical inventory remains read-only
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Receipt: `tests/golden/WBV2-P1156-001/module-receipt.json`
|
||||
- Aggregate production evidence: `tests/golden/WBV2-P1156-001/modifier-reader-batch-production.json`
|
||||
- Manifest: `tests/golden/WBV2-P1156-001/manifest.json`
|
||||
- Status: `docs/status/WBV2-P1156-001.md`
|
||||
- Rollback: restore WBV2-P1156-000 as queue parent without rewriting prior evidence.
|
||||
42
tests/golden/WBV2-P1156-000/manifest.json
Normal file
42
tests/golden/WBV2-P1156-000/manifest.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1156-000",
|
||||
"parentTask": "WBV2-P1155-001",
|
||||
"operation": "AUTHORIZE_SOURCE_BACKED_MODULE_BATCH",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "MODULE_EXECUTION_QUEUE_BRIDGE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P1155-001/manifest.json",
|
||||
"sha256": "87c88f65b2ebf0585e37d0fd9806986456a5b664e003510d2aa6131e550cb1a0"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P1156-000/module-execution-plan.json",
|
||||
"sha256": "aea0337f7176ce5e8c1b9cdf4f288cbec8f7b89944b9502043e95f42edfdac86"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P1156-000/successor-authorization-report.json",
|
||||
"sha256": "484fa7e5781baae37a7643cb75c9ebc325989a1f8c77023c69b08776f1d50721"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P1156-000.md",
|
||||
"sha256": "4cbe9145db93652390d692d0dbec9f0df543b63cac0e70f2ede535284131cbea"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"sourceBackedSuccessor": true,
|
||||
"moduleId": "MODIFIER_VOLUME_DISPLACE_BATCH",
|
||||
"batchSize": 2,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"dynamicUnitCount": 3745,
|
||||
"dynamicVerifiedUnits": 464,
|
||||
"dynamicUnverifiedUnits": 3281,
|
||||
"boundUnitDelta": 0,
|
||||
"fullHistoricalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P1156-001"
|
||||
}
|
||||
7485
tests/golden/WBV2-P1156-000/module-execution-plan.json
Normal file
7485
tests/golden/WBV2-P1156-000/module-execution-plan.json
Normal file
File diff suppressed because it is too large
Load Diff
87
tests/golden/WBV2-P1156-001/manifest.json
Normal file
87
tests/golden/WBV2-P1156-001/manifest.json
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1156-001",
|
||||
"parentTask": "WBV2-P1156-000",
|
||||
"operation": "MODULE_FUNCTION_EXECUTION",
|
||||
"taskClass": "MODULE",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "BLENDER_WEB_FUNCTION_MODULE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P1156-000/manifest.json",
|
||||
"sha256": "87984a5486c0713d9e0ddaa684e8940c8314f4c27ddc2ff0a8d1aff3605a072e"
|
||||
},
|
||||
"source1": {
|
||||
"path": "blender-5.2.0/source/blender/modifiers/intern/MOD_volume_displace.cc",
|
||||
"sha256": "f090da7956b0c732d7b7f64a770b0c47c03eebff4033d3e18f474c23d3be76b0"
|
||||
},
|
||||
"source2": {
|
||||
"path": "blender-5.2.0/source/blender/makesrna/intern/rna_modifier.cc",
|
||||
"sha256": "1292112c20eaa113084a2a7093c349e7787db818950d80a6e11b75b287e4287b"
|
||||
},
|
||||
"source3": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"sha256": "f6fbd04315c48ad4dfbf109b91e5b350550d23c227e5c11a71a58f09e923c990"
|
||||
},
|
||||
"source4": {
|
||||
"path": "web/tests/e2e/wbv2-modifier-reader-multi-fixture-production.spec.ts",
|
||||
"sha256": "aa6a9a5e4a66361ef0c201d1193064da8065705ddcc418400d743d40456e39c8"
|
||||
},
|
||||
"source5": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend",
|
||||
"sha256": "95a922b90fb5bce90cb2f7995761805709a4a18b9206fab7f30e3848160b2c95"
|
||||
},
|
||||
"source6": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "32bc36aba563fe1ed0fb5d0292ca8a3ada1eecd6d45e38d9dcde565f02a312fe"
|
||||
},
|
||||
"evidence1": {
|
||||
"path": "tests/golden/WBV2-P1156-001/modifier-reader-batch-production.json",
|
||||
"sha256": "8361cf72da89ca02ea8c117055634156e782d4a53daaf53b0716d68d3427be87"
|
||||
},
|
||||
"moduleReceipt": {
|
||||
"path": "tests/golden/WBV2-P1156-001/module-receipt.json",
|
||||
"sha256": "d967fa481ea2b24c6aceb19fab67988585e03236d24b0d5fd2b210e5c9039c57"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P1156-001.md",
|
||||
"sha256": "f58fb21d2199ae24abc9eae0090665ebcf234ef2ecbec8e013dd6bc106524dc3"
|
||||
},
|
||||
"log": {
|
||||
"path": "tests/golden/WBV2-P1156-001/module-run.log",
|
||||
"sha256": "c59cbb61f6b6af0a33572707820496c770125a7870f99c8fbf1a8cd01b400989"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P1156-000/module-execution-plan.json",
|
||||
"sha256": "6aa83a4357f073901285ea75bc4d864b54e32a81e9e39c2b9277e7396b3fa347"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P1156-001/task-context.json",
|
||||
"sha256": "d7df293df802602a1b3966803abd47b5ce0c3aa9290ac5a4776fd2756dc9ebbf"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"moduleId": "MODIFIER_VOLUME_DISPLACE_BATCH",
|
||||
"sourceBacked": true,
|
||||
"positiveCases": 3,
|
||||
"negativeCases": 3,
|
||||
"recoveryCases": 3,
|
||||
"commandCount": 4,
|
||||
"reusedReceiptCount": 1,
|
||||
"sourceUnchanged": true,
|
||||
"fullFamilyParity": false,
|
||||
"dynamicInventoryPath": "tests/golden/WBV2/dynamic-inventory.json",
|
||||
"dynamicSourceTreeSha256": "600cb3dd441f09d9655b740735fbf8fa49ad6c14d308c68d59a29f9c338e4202",
|
||||
"dynamicUnitCount": 3745,
|
||||
"dynamicVerifiedUnits": 466,
|
||||
"dynamicUnverifiedUnits": 3279,
|
||||
"planningEstimate": 5200,
|
||||
"historicalInventoryTotal": 6900,
|
||||
"historicalEffectiveCompleted": 290,
|
||||
"historicalEffectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": null
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1156-001",
|
||||
"operation": "MODIFIER_READER_MULTI_FIXTURE_CHROMIUM_SAVE_REOPEN",
|
||||
"browser": "chromium",
|
||||
"queueMutation": false,
|
||||
"fixtures": [
|
||||
"tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend"
|
||||
],
|
||||
"fixtureSha256": {
|
||||
"tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend": "95a922b90fb5bce90cb2f7995761805709a4a18b9206fab7f30e3848160b2c95"
|
||||
},
|
||||
"expectedTypes": [
|
||||
"VOLUME_DISPLACE"
|
||||
],
|
||||
"sourceUnits": [
|
||||
"modifier-source:MOD_volume_displace",
|
||||
"rna-struct:VolumeDisplaceModifier"
|
||||
],
|
||||
"tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend": {
|
||||
"before": [
|
||||
{
|
||||
"meshId": "object:WebGapVolumeDisplaceObject",
|
||||
"uuid": "modifier:object:WebGapVolumeDisplaceObject:1329852763",
|
||||
"name": "WebGapVolumeDisplace",
|
||||
"type": "VOLUME_DISPLACE",
|
||||
"enabled": true,
|
||||
"evaluationStatus": "BLOCKED",
|
||||
"parameters": {
|
||||
"flag": 5,
|
||||
"mode": 1,
|
||||
"persistentUid": 1329852763,
|
||||
"typeCode": 59
|
||||
}
|
||||
}
|
||||
],
|
||||
"types": [
|
||||
"VOLUME_DISPLACE"
|
||||
],
|
||||
"after": [
|
||||
{
|
||||
"meshId": "object:WebGapVolumeDisplaceObject",
|
||||
"uuid": "modifier:object:WebGapVolumeDisplaceObject:1329852763",
|
||||
"name": "WebGapVolumeDisplace",
|
||||
"type": "VOLUME_DISPLACE",
|
||||
"enabled": true,
|
||||
"evaluationStatus": "BLOCKED",
|
||||
"parameters": {
|
||||
"flag": 5,
|
||||
"mode": 1,
|
||||
"persistentUid": 1329852763,
|
||||
"typeCode": 59
|
||||
}
|
||||
}
|
||||
],
|
||||
"second": [
|
||||
{
|
||||
"meshId": "object:WebGapVolumeDisplaceObject",
|
||||
"uuid": "modifier:object:WebGapVolumeDisplaceObject:1329852763",
|
||||
"name": "WebGapVolumeDisplace",
|
||||
"type": "VOLUME_DISPLACE",
|
||||
"enabled": true,
|
||||
"evaluationStatus": "BLOCKED",
|
||||
"parameters": {
|
||||
"flag": 5,
|
||||
"mode": 1,
|
||||
"persistentUid": 1329852763,
|
||||
"typeCode": 59
|
||||
}
|
||||
}
|
||||
],
|
||||
"saveReopenExact": true,
|
||||
"deterministicExact": true,
|
||||
"savedSha256": "95a922b90fb5bce90cb2f7995761805709a4a18b9206fab7f30e3848160b2c95",
|
||||
"malformed": {
|
||||
"code": "BLEND_READ_FAILED",
|
||||
"message": "Input is not an uncompressed, gzip, or zstd Blender file"
|
||||
}
|
||||
}
|
||||
}
|
||||
123
tests/golden/WBV2-P1156-001/module-receipt.json
Normal file
123
tests/golden/WBV2-P1156-001/module-receipt.json
Normal file
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1156-001",
|
||||
"operation": "MODULE_FUNCTION_EXECUTION",
|
||||
"moduleId": "MODIFIER_VOLUME_DISPLACE_BATCH",
|
||||
"status": "PASS",
|
||||
"source": {
|
||||
"paths": [
|
||||
"blender-5.2.0/source/blender/modifiers/intern/MOD_volume_displace.cc",
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_modifier.cc",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"web/tests/e2e/wbv2-modifier-reader-multi-fixture-production.spec.ts",
|
||||
"tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend",
|
||||
"web/app/src/vendor/blender/web_engine.wasm"
|
||||
],
|
||||
"before": {
|
||||
"blender-5.2.0/source/blender/modifiers/intern/MOD_volume_displace.cc": "f090da7956b0c732d7b7f64a770b0c47c03eebff4033d3e18f474c23d3be76b0",
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_modifier.cc": "1292112c20eaa113084a2a7093c349e7787db818950d80a6e11b75b287e4287b",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp": "f6fbd04315c48ad4dfbf109b91e5b350550d23c227e5c11a71a58f09e923c990",
|
||||
"web/tests/e2e/wbv2-modifier-reader-multi-fixture-production.spec.ts": "aa6a9a5e4a66361ef0c201d1193064da8065705ddcc418400d743d40456e39c8",
|
||||
"tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend": "95a922b90fb5bce90cb2f7995761805709a4a18b9206fab7f30e3848160b2c95",
|
||||
"web/app/src/vendor/blender/web_engine.wasm": "32bc36aba563fe1ed0fb5d0292ca8a3ada1eecd6d45e38d9dcde565f02a312fe"
|
||||
},
|
||||
"after": {
|
||||
"blender-5.2.0/source/blender/modifiers/intern/MOD_volume_displace.cc": "f090da7956b0c732d7b7f64a770b0c47c03eebff4033d3e18f474c23d3be76b0",
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_modifier.cc": "1292112c20eaa113084a2a7093c349e7787db818950d80a6e11b75b287e4287b",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp": "f6fbd04315c48ad4dfbf109b91e5b350550d23c227e5c11a71a58f09e923c990",
|
||||
"web/tests/e2e/wbv2-modifier-reader-multi-fixture-production.spec.ts": "aa6a9a5e4a66361ef0c201d1193064da8065705ddcc418400d743d40456e39c8",
|
||||
"tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend": "95a922b90fb5bce90cb2f7995761805709a4a18b9206fab7f30e3848160b2c95",
|
||||
"web/app/src/vendor/blender/web_engine.wasm": "32bc36aba563fe1ed0fb5d0292ca8a3ada1eecd6d45e38d9dcde565f02a312fe"
|
||||
},
|
||||
"unchanged": true
|
||||
},
|
||||
"reusedReceipts": [
|
||||
{
|
||||
"manifest": "tests/golden/WBV2-P1107-000/manifest.json",
|
||||
"report": "tests/golden/WBV2-P1107-000/module-receipt.json",
|
||||
"manifestSha256": "a53ebdc52db5dcf27d44e938e5551f1ee2adae8e46c3fe8661604ee6b1000f8c",
|
||||
"reportSha256": "6dd419799e1a4b9251328d9496f2459d148cd89118740a06b0ee6ffb78e0b1d2"
|
||||
}
|
||||
],
|
||||
"cases": {
|
||||
"positive": [
|
||||
"MOD_volume_displace type is read from Blender Main",
|
||||
"shared RNA metadata is preserved",
|
||||
"save/reopen preserves the batch metadata"
|
||||
],
|
||||
"negative": [
|
||||
"malformed blend is rejected without Main mutation",
|
||||
"unsupported batch data fails closed",
|
||||
"non-finite metadata is not synthesized"
|
||||
],
|
||||
"recovery": [
|
||||
"save/reopen",
|
||||
"worker termination",
|
||||
"deterministic second read"
|
||||
]
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"command": "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",
|
||||
"exitCode": 0,
|
||||
"durationMs": 151
|
||||
},
|
||||
{
|
||||
"command": "npm --prefix web run typecheck",
|
||||
"exitCode": 0,
|
||||
"durationMs": 3264
|
||||
},
|
||||
{
|
||||
"command": "npm --prefix web run build",
|
||||
"exitCode": 0,
|
||||
"durationMs": 3819
|
||||
},
|
||||
{
|
||||
"command": "WBV2_BATCH_TASK=WBV2-P1156-001 WBV2_BATCH_PRODUCTION=tests/golden/WBV2-P1156-001/modifier-reader-batch-production.json WBV2_BATCH_FIXTURE=tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend WBV2_BATCH_TYPES='[\"VOLUME_DISPLACE\"]' WBV2_BATCH_UNITS='[\"modifier-source:MOD_volume_displace\",\"rna-struct:VolumeDisplaceModifier\"]' WEB_TEST_PORT=5371 npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-modifier-reader-multi-fixture-production.spec.ts",
|
||||
"exitCode": 0,
|
||||
"durationMs": 2975
|
||||
}
|
||||
],
|
||||
"verification": {
|
||||
"required": [
|
||||
"sourceHash",
|
||||
"wasmBuild",
|
||||
"positiveMainMutation",
|
||||
"negativeNoMutation",
|
||||
"undoRedo",
|
||||
"saveReopen",
|
||||
"aggregateManifest"
|
||||
],
|
||||
"chromiumOnly": true,
|
||||
"fullFamilyParity": false
|
||||
},
|
||||
"efficiency": {
|
||||
"existingEvidenceReused": false,
|
||||
"skippedCommands": 0,
|
||||
"totalDurationMs": 10209,
|
||||
"reusePolicy": "hash_bound_receipt"
|
||||
},
|
||||
"inventory": {
|
||||
"historical": {
|
||||
"path": "tests/golden/WBV2-P0-002/parity-map.json",
|
||||
"sha256": "a60a77cae000941a953d55adbf93d8f6e275533891713d6eae993f60faed94e8",
|
||||
"total": 6900,
|
||||
"legacyCompleted": 281,
|
||||
"legacyPending": 6618,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"mutation": "forbidden_by_module_execution"
|
||||
},
|
||||
"dynamic": {
|
||||
"path": "tests/golden/WBV2/dynamic-inventory.json",
|
||||
"sha256": "070f3aa5b0254775381bb13306cb6bef34008db2b7577a9ea44f6bea0bfb3282",
|
||||
"sourceTreeSha256": "600cb3dd441f09d9655b740735fbf8fa49ad6c14d308c68d59a29f9c338e4202",
|
||||
"unitCount": 3745,
|
||||
"planningEstimate": 5200,
|
||||
"hardTarget": false,
|
||||
"verifiedUnits": 466,
|
||||
"unverifiedUnits": 3279
|
||||
}
|
||||
},
|
||||
"nextTask": null
|
||||
}
|
||||
49
tests/golden/WBV2-P1156-001/module-run.log
Normal file
49
tests/golden/WBV2-P1156-001/module-run.log
Normal file
@@ -0,0 +1,49 @@
|
||||
> 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
|
||||
ninja: no work to do.
|
||||
|
||||
> npm --prefix web run typecheck
|
||||
|
||||
> blender-web-editor@0.1.0-rc.1 typecheck
|
||||
> tsc -p tsconfig.json --noEmit
|
||||
|
||||
|
||||
> npm --prefix web run build
|
||||
|
||||
> blender-web-editor@0.1.0-rc.1 build
|
||||
> tsc -p tsconfig.json && vite build --config app/vite.config.ts
|
||||
|
||||
vite v8.2.0 building client environment for production...
|
||||
[2K
|
||||
transforming...✓ 102 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
dist/index.html 0.46 kB │ gzip: 0.30 kB
|
||||
dist/assets/storage.worker-D9TqXsGS.js 66.59 kB
|
||||
dist/assets/web-engine.worker-BfTMiTY1.js 362.11 kB
|
||||
dist/assets/viewport-render.worker-BKnJyAEz.js 634.08 kB
|
||||
dist/assets/web_engine-CjnzAIfx.wasm 16,238.37 kB │ gzip: 3,856.73 kB
|
||||
dist/assets/index-BgTbQCE2.css 15.35 kB │ gzip: 3.91 kB
|
||||
dist/assets/index-C3AJuKSc.js 1,190.30 kB │ gzip: 316.69 kB
|
||||
|
||||
✓ built in 454ms
|
||||
[plugin rolldown:vite-resolve] Module "module" has been externalized for browser compatibility, imported by "/home/mes123456/workinf_Blender_Wasm/web/app/src/vendor/blender/web_engine.js". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
|
||||
[plugin builtin:vite-reporter]
|
||||
(!) Some chunks are larger than 500 kB after minification. Consider:
|
||||
- Using dynamic import() to code-split the application
|
||||
- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
|
||||
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
|
||||
|
||||
> WBV2_BATCH_TASK=WBV2-P1156-001 WBV2_BATCH_PRODUCTION=tests/golden/WBV2-P1156-001/modifier-reader-batch-production.json WBV2_BATCH_FIXTURE=tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend WBV2_BATCH_TYPES='["VOLUME_DISPLACE"]' WBV2_BATCH_UNITS='["modifier-source:MOD_volume_displace","rna-struct:VolumeDisplaceModifier"]' WEB_TEST_PORT=5371 npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-modifier-reader-multi-fixture-production.spec.ts
|
||||
|
||||
> blender-web-editor@0.1.0-rc.1 test:e2e
|
||||
> playwright test --config playwright.config.ts --workers=1 tests/e2e/wbv2-modifier-reader-multi-fixture-production.spec.ts
|
||||
|
||||
|
||||
Running 1 test using 1 worker
|
||||
|
||||
✓ 1 tests/e2e/wbv2-modifier-reader-multi-fixture-production.spec.ts:16:1 › multi-fixture modifier reader batch preserves Blender Main metadata (1.8s)
|
||||
|
||||
1 passed (2.6s)
|
||||
[WebServer] (node:160880) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||||
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
|
||||
(node:160934) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||||
187
tests/golden/WBV2-P1156-001/task-context.json
Normal file
187
tests/golden/WBV2-P1156-001/task-context.json
Normal file
@@ -0,0 +1,187 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1156-001",
|
||||
"parentTask": "WBV2-P1156-000",
|
||||
"status": "in_progress",
|
||||
"goal": "以一个共享 Blender Main reader、WASM build、Worker 路由和 Chromium receipt 批量验证 MOD_volume_displace 的真实 modifier/RNA 元数据。",
|
||||
"scope": {
|
||||
"gap": "capability:MODIFIER_VOLUME_DISPLACE_BATCH",
|
||||
"ownerFamily": "MODIFIER",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"node tools/web/check-task-context.mjs --task WBV2-P1156-001 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 2028,
|
||||
"contextRemainingTokens": 505
|
||||
},
|
||||
"source": {
|
||||
"bytes": 7876,
|
||||
"tokens": 1971
|
||||
},
|
||||
"selected": [],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/modifiers/intern/",
|
||||
"bytes": 10155,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/makesrna/intern/rna_modifier.cc",
|
||||
"bytes": 521651,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 313993,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00106-modifier-VOLUME_DISPLACE.blend",
|
||||
"bytes": 86077,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "web/tests/e2e/wbv2-modifier-reader-multi-fixture-production.spec.ts",
|
||||
"bytes": 4777,
|
||||
"reason": "CONTEXT_REMAINING_SPACE"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1156-001/module-receipt.json",
|
||||
"bytes": null,
|
||||
"reason": "MISSING_PATH"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1156-001/modifier-reader-batch-production.json",
|
||||
"bytes": null,
|
||||
"reason": "MISSING_PATH"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1156-001/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P1156-001.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 0,
|
||||
"bytes": 0,
|
||||
"tokens": 0
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"source and protocol hashes are bound",
|
||||
"every selected Main reader type is proven",
|
||||
"negative no-mutation and recovery are proven",
|
||||
"Chromium and save/reopen evidence are exact"
|
||||
],
|
||||
"nextTask": null,
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P1156-001.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P1156-000/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P1156-000.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P1156-001.md",
|
||||
"tests/golden/WBV2-P1156-000/manifest.json",
|
||||
"docs/status/WBV2-P1156-000.md"
|
||||
],
|
||||
"machineOnly": [
|
||||
"tests/golden/WBV2/task-index.json",
|
||||
"tests/golden/M15-03A/task-catalog.jsonl"
|
||||
],
|
||||
"optionalByNeed": [
|
||||
"docs/WEB_BLENDER_MODELER_V1_SCOPE.md",
|
||||
"任务卡列出的精确协议/生产路径",
|
||||
"任务卡明确命名的长期计划小节"
|
||||
],
|
||||
"forbiddenByDefault": [
|
||||
"完整 CURRENT_EXECUTION_PLAN.md",
|
||||
"完整 PROJECT_STATUS_AND_NEXT_WORK.md",
|
||||
"全部 docs/status/*.md",
|
||||
"完整 parity/WBS 计划",
|
||||
"README 历史和 test-results/"
|
||||
]
|
||||
},
|
||||
"parent": {
|
||||
"manifest": {
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1156-000",
|
||||
"parentTask": "WBV2-P1155-001",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P1156-001",
|
||||
"artifactCount": 4
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P1156-000 status",
|
||||
"- task: `WBV2-P1156-000`; parent: `WBV2-P1155-001`; status: `done`",
|
||||
"- taskClass: `QUEUE_ENABLEMENT`; no modifier-family parity completion claimed",
|
||||
"- source-backed batch authorized: `MODIFIER_VOLUME_DISPLACE_BATCH` (2 units)",
|
||||
"- dynamic inventory: `3745` units; verified `464`; unverified `3281`; bound delta `0`",
|
||||
"- nextTask: `WBV2-P1156-001`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 2099,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 46,
|
||||
"taskTokens": 525
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 4030,
|
||||
"lines": 58,
|
||||
"tokens": 1008
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P1156-001.md",
|
||||
"bytes": 2099,
|
||||
"lines": 46,
|
||||
"tokens": 525
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1156-000/manifest.json",
|
||||
"bytes": 1385,
|
||||
"lines": 43,
|
||||
"tokens": 347
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P1156-000.md",
|
||||
"bytes": 362,
|
||||
"lines": 8,
|
||||
"tokens": 91
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1971,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1971,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2995,
|
||||
"serializedContextTokens": 654,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
@@ -89,3 +89,5 @@
|
||||
{"id":"WBV2-P1154-001","gapId":"MODIFIER_SOLIDIFY_HELPER_BATCH","ownerFamily":"MODIFIER","sourceTask":"1154","state":"completed","targetImplementationClass":"LOCAL_EXACT","exitCriteria":["source and protocol hashes are bound","every selected Main reader type is proven","negative no-mutation and recovery are proven","Chromium and save/reopen evidence are exact"]}
|
||||
{"id":"WBV2-P1155-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1155","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1155-001","gapId":"MODIFIER_RNA_READER_BATCH","ownerFamily":"MODIFIER","sourceTask":"1155","state":"completed","targetImplementationClass":"LOCAL_EXACT","exitCriteria":["source and protocol hashes are bound","every selected Main reader type is proven","negative no-mutation and recovery are proven","Chromium and save/reopen evidence are exact"]}
|
||||
{"id":"WBV2-P1156-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1156","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1156-001","gapId":"MODIFIER_VOLUME_DISPLACE_BATCH","ownerFamily":"MODIFIER","sourceTask":"1156","state":"completed","targetImplementationClass":"LOCAL_EXACT","exitCriteria":["source and protocol hashes are bound","every selected Main reader type is proven","negative no-mutation and recovery are proven","Chromium and save/reopen evidence are exact"]}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -18,7 +18,7 @@ test("multi-fixture modifier reader batch preserves Blender Main metadata", asyn
|
||||
await page.goto("/");
|
||||
const result = await page.evaluate(async (input) => {
|
||||
const { WebEngineClient } = await import("/src/engine-client/WebEngineClient.ts");
|
||||
const canonical = (snapshot: any) => [...(snapshot.meshes ?? []), ...(snapshot.nodes ?? [])].flatMap((mesh: any) =>
|
||||
const canonical = (snapshot: any) => [...(snapshot.meshes ?? []), ...(snapshot.nodes ?? []), ...(snapshot.volumes ?? []), ...(snapshot.objects ?? [])].flatMap((mesh: any) =>
|
||||
(mesh.modifierStack ?? []).map((modifier: any) => ({
|
||||
meshId: mesh.id,
|
||||
uuid: modifier.uuid,
|
||||
|
||||
Reference in New Issue
Block a user