chore(web): continuous handoff WBV2-P1187-001
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
| 字段 | 值 |
|
||||
| --- | --- |
|
||||
| 里程碑 | WBV2 capability workflow |
|
||||
| 当前任务 | `WBV2-P1175-001` |
|
||||
| parent manifest | `tests/golden/WBV2-P1175-000/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P1175-001.md`](tasks/WBV2-P1175-001.md) |
|
||||
| 当前任务 | `WBV2-P1187-001` |
|
||||
| parent manifest | `tests/golden/WBV2-P1187-000/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P1187-001.md`](tasks/WBV2-P1187-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-P1187-001.md
Normal file
9
docs/status/WBV2-P1187-001.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# WBV2-P1187-001 status
|
||||
|
||||
- task: `WBV2-P1187-001`; module: `AUTO_GEOMETRY_NATIVE_NODE_READER`; 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 `613`; unverified `3132`; planning estimate `5200` (non-binding); this-segment binding delta: `5`
|
||||
- historical 6900-entry inventory remains read-only; full-family parity: `false`
|
||||
- nextTask: `NONE`
|
||||
48
docs/tasks/WBV2-P1187-001.md
Normal file
48
docs/tasks/WBV2-P1187-001.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# WBV2-P1187-001: verify auto-generated native geometry node reader batch
|
||||
|
||||
- task: WBV2-P1187-001
|
||||
- parent: WBV2-P1187-000
|
||||
- status: in_progress
|
||||
- gap: capability:AUTO_GEOMETRY_NATIVE_NODE_READER
|
||||
- ownerFamily: NODES
|
||||
- targetImplementationClass: LOCAL_EXACT
|
||||
- batchId: WBV2-P1187-001:AUTO_GEOMETRY_NATIVE_NODE_READER:1344290dd2cb9042
|
||||
- selectedRecordIds: ["node:GeometryNodeAccumulateField","node:GeometryNodeAttributeDomainSize","node:GeometryNodeAttributeStatistic","node:GeometryNodeBake","node:GeometryNodeBlurAttribute"]
|
||||
- commandBudget: max=48; read/exploration max=16
|
||||
- Implementation entrypoint: `node tools/web/run-wbv2-module-task.mjs --task WBV2-P1187-001 --write`
|
||||
|
||||
## 目标
|
||||
|
||||
以一个共享 Blender Main reader、WASM build、Worker 路由和 Chromium receipt 批量验证 GeometryNodeAccumulateField, GeometryNodeAttributeDomainSize, GeometryNodeAttributeStatistic, GeometryNodeBake, GeometryNodeBlurAttribute 的真实 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/wbv2-geometry-1344290dd2cb9042.blend`
|
||||
- Chromium test: `web/tests/e2e/geometry-node-main-reader.spec.ts`
|
||||
- Selected modifier units: `modifier-source:GeometryNodeAccumulateField`, `modifier-source:GeometryNodeAttributeDomainSize`, `modifier-source:GeometryNodeAttributeStatistic`, `modifier-source:GeometryNodeBake`, `modifier-source:GeometryNodeBlurAttribute`
|
||||
- Selected RNA units: none (source-only dependency batch)
|
||||
|
||||
## 验收
|
||||
|
||||
- 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-P1187-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-P1187-001/module-receipt.json`
|
||||
- Aggregate production evidence: `tests/golden/WBV2-P1187-001/modifier-reader-batch-production.json`
|
||||
- Manifest: `tests/golden/WBV2-P1187-001/manifest.json`
|
||||
- Status: `docs/status/WBV2-P1187-001.md`
|
||||
- Rollback: restore WBV2-P1187-000 as queue parent without rewriting prior evidence.
|
||||
BIN
tests/files/web/generated/wbv2-geometry-1344290dd2cb9042.blend
Normal file
BIN
tests/files/web/generated/wbv2-geometry-1344290dd2cb9042.blend
Normal file
Binary file not shown.
50
tests/golden/WBV2-P1187-000/manifest.json
Normal file
50
tests/golden/WBV2-P1187-000/manifest.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1187-000",
|
||||
"parentTask": "WBV2-P1186-001",
|
||||
"operation": "AUTHORIZE_SOURCE_BACKED_MODULE_BATCH",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "MODULE_EXECUTION_QUEUE_BRIDGE",
|
||||
"batchId": "WBV2-P1187-001:AUTO_GEOMETRY_NATIVE_NODE_READER:1344290dd2cb9042",
|
||||
"selectedRecordIds": [
|
||||
"node:GeometryNodeAccumulateField",
|
||||
"node:GeometryNodeAttributeDomainSize",
|
||||
"node:GeometryNodeAttributeStatistic",
|
||||
"node:GeometryNodeBake",
|
||||
"node:GeometryNodeBlurAttribute"
|
||||
],
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P1186-001/manifest.json",
|
||||
"sha256": "d11198d1efdd4885399c26cb371c961a7d75ede00c2230ef95700e8de06e93b3"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P1187-000/module-execution-plan.json",
|
||||
"sha256": "3555d6cc7c9c4da401f21be20bf0882f2733ffd6acc1ef9780a55fbe530bf742"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P1187-000/successor-authorization-report.json",
|
||||
"sha256": "732fcc6d2c8e578bdd73c71138435307a16323439dd6245ddba5d716ad5dc711"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P1187-000.md",
|
||||
"sha256": "f136ca5bf00ec619116081e16708a94f0e24732a6d2cc916726cbf23487b006f"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"sourceBackedSuccessor": true,
|
||||
"moduleId": "AUTO_GEOMETRY_NATIVE_NODE_READER",
|
||||
"batchSize": 5,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"dynamicUnitCount": 3745,
|
||||
"dynamicVerifiedUnits": 608,
|
||||
"dynamicUnverifiedUnits": 3137,
|
||||
"boundUnitDelta": 0,
|
||||
"fullHistoricalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P1187-001"
|
||||
}
|
||||
13230
tests/golden/WBV2-P1187-000/module-execution-plan.json
Normal file
13230
tests/golden/WBV2-P1187-000/module-execution-plan.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1187-001",
|
||||
"operation": "GEOMETRY_NODE_MAIN_READER_CHROMIUM",
|
||||
"browser": "chromium",
|
||||
"queueMutation": false,
|
||||
"fixture": "tests/files/web/generated/wbv2-geometry-1344290dd2cb9042.blend",
|
||||
"fixtureSha256": "d0077e47c5f1d839e87744d25bd7061628f1cca34b164a9b7007a42f46e29b14",
|
||||
"sourceUnits": [
|
||||
"node:GeometryNodeAccumulateField",
|
||||
"node:GeometryNodeAttributeDomainSize",
|
||||
"node:GeometryNodeAttributeStatistic",
|
||||
"node:GeometryNodeBake",
|
||||
"node:GeometryNodeBlurAttribute"
|
||||
],
|
||||
"expectedTypes": [
|
||||
"GeometryNodeAccumulateField",
|
||||
"GeometryNodeAttributeDomainSize",
|
||||
"GeometryNodeAttributeStatistic",
|
||||
"GeometryNodeBake",
|
||||
"GeometryNodeBlurAttribute"
|
||||
],
|
||||
"graphNames": [
|
||||
"WBV2 Geometry Batch"
|
||||
],
|
||||
"nodeTypes": [
|
||||
"NodeGroupOutput",
|
||||
"GeometryNodeBlurAttribute",
|
||||
"GeometryNodeAttributeStatistic",
|
||||
"GeometryNodeAttributeDomainSize",
|
||||
"GeometryNodeBake",
|
||||
"GeometryNodeAccumulateField",
|
||||
"NodeGroupInput"
|
||||
],
|
||||
"nodeCount": 7,
|
||||
"linkCount": 0,
|
||||
"defaultCount": 26,
|
||||
"unsupportedPreserved": false,
|
||||
"stable": true,
|
||||
"hashes": [
|
||||
"773d03fce7fa0173f6a95aa25480058482db2312bbfb76f151a183f17c229b94"
|
||||
]
|
||||
}
|
||||
116
tests/golden/WBV2-P1187-001/manifest.json
Normal file
116
tests/golden/WBV2-P1187-001/manifest.json
Normal file
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1187-001",
|
||||
"parentTask": "WBV2-P1187-000",
|
||||
"operation": "MODULE_FUNCTION_EXECUTION",
|
||||
"phase": "CONTINUE",
|
||||
"taskClass": "MODULE",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "BLENDER_WEB_FUNCTION_MODULE",
|
||||
"batchId": "WBV2-P1187-001:AUTO_GEOMETRY_NATIVE_NODE_READER:1344290dd2cb9042",
|
||||
"selectedRecordIds": [
|
||||
"node:GeometryNodeAccumulateField",
|
||||
"node:GeometryNodeAttributeDomainSize",
|
||||
"node:GeometryNodeAttributeStatistic",
|
||||
"node:GeometryNodeBake",
|
||||
"node:GeometryNodeBlurAttribute"
|
||||
],
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P1187-000/manifest.json",
|
||||
"sha256": "ae29346ae5bc25a124f4b07fcf8fc9491b9b0624cf2e4b4c204e044c996bc927"
|
||||
},
|
||||
"source1": {
|
||||
"path": "blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_accumulate_field.cc",
|
||||
"sha256": "ff6e76f50d30c274d7a283588a16d0c4d5cfa77c18257c1692f25af1c54e64c1"
|
||||
},
|
||||
"source2": {
|
||||
"path": "blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_attribute_domain_size.cc",
|
||||
"sha256": "4cbbd47e72e138c8665b6fb7f890bfea91464483b758d3cae66d7ea55883b29a"
|
||||
},
|
||||
"source3": {
|
||||
"path": "blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_attribute_statistic.cc",
|
||||
"sha256": "c9284d3bd53c064af47484d30f0a992c425b91376987957acf9a2f99ffe55caa"
|
||||
},
|
||||
"source4": {
|
||||
"path": "blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_bake.cc",
|
||||
"sha256": "129a6c7a34bf73870afa1422a395be6da765ab07058f3ad6042caf20770440b6"
|
||||
},
|
||||
"source5": {
|
||||
"path": "blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_blur_attribute.cc",
|
||||
"sha256": "58ae802ea16a130c39bc515837d7ce8cc0da216a1ed4d1b47d7d50a355690600"
|
||||
},
|
||||
"source6": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"sha256": "8a9b46e8f5f9c4b30ad7818fac6fbd64b20dc2d0a962630f50c8f352bdf230d3"
|
||||
},
|
||||
"source7": {
|
||||
"path": "web/tests/e2e/geometry-node-main-reader.spec.ts",
|
||||
"sha256": "066e205d7a329fe96b4a344f052034790563447edd8d9eb25afd730618a26f84"
|
||||
},
|
||||
"source8": {
|
||||
"path": "tests/files/web/generated/wbv2-geometry-1344290dd2cb9042.blend",
|
||||
"sha256": "d0077e47c5f1d839e87744d25bd7061628f1cca34b164a9b7007a42f46e29b14"
|
||||
},
|
||||
"source9": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "66fc59cba55a8c17d398b74d12ea4a9f09746c0f30c40f579c44aa34956e3072"
|
||||
},
|
||||
"evidence1": {
|
||||
"path": "tests/golden/WBV2-P1187-001/geometry-node-reader-production.json",
|
||||
"sha256": "dd9dc9355b95872ce2ee7fc5cfb08fa56111d36fa9419f69e961b4f495b8d92c"
|
||||
},
|
||||
"moduleReceipt": {
|
||||
"path": "tests/golden/WBV2-P1187-001/module-receipt.json",
|
||||
"sha256": "4b42d34659405e6534c02b82e605717be635212274347668ff815aa73a9e397b"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P1187-001.md",
|
||||
"sha256": "fb86af5cde52c0f2d48770459d70868f65f1f01f91e38ee5ac0852a3760d2a60"
|
||||
},
|
||||
"log": {
|
||||
"path": "tests/golden/WBV2-P1187-001/module-run.log",
|
||||
"sha256": "7cf5c297a44de0380d504515b768002b5942ecfa790ae22c9de0bd51bdc9fb10"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P1187-000/module-execution-plan.json",
|
||||
"sha256": "c73056781306c5609383913db2d2af2421c0bf4aa21cc66babcec367de4fdc4b"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P1187-001/task-context.json",
|
||||
"sha256": "4d7186f0ae70cac2e5e30a8131b8f3ef40e607320692e078ff6f6eb8f84bba58"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"moduleId": "AUTO_GEOMETRY_NATIVE_NODE_READER",
|
||||
"batchId": "WBV2-P1187-001:AUTO_GEOMETRY_NATIVE_NODE_READER:1344290dd2cb9042",
|
||||
"selectedRecordIds": [
|
||||
"node:GeometryNodeAccumulateField",
|
||||
"node:GeometryNodeAttributeDomainSize",
|
||||
"node:GeometryNodeAttributeStatistic",
|
||||
"node:GeometryNodeBake",
|
||||
"node:GeometryNodeBlurAttribute"
|
||||
],
|
||||
"sourceBacked": true,
|
||||
"positiveCases": 7,
|
||||
"negativeCases": 3,
|
||||
"recoveryCases": 3,
|
||||
"commandCount": 4,
|
||||
"reusedReceiptCount": 1,
|
||||
"sourceUnchanged": true,
|
||||
"fullFamilyParity": false,
|
||||
"dynamicInventoryPath": "tests/golden/WBV2/dynamic-inventory.json",
|
||||
"dynamicSourceTreeSha256": "600cb3dd441f09d9655b740735fbf8fa49ad6c14d308c68d59a29f9c338e4202",
|
||||
"dynamicUnitCount": 3745,
|
||||
"dynamicVerifiedUnits": 613,
|
||||
"dynamicUnverifiedUnits": 3132,
|
||||
"planningEstimate": 5200,
|
||||
"historicalInventoryTotal": 6900,
|
||||
"historicalEffectiveCompleted": 290,
|
||||
"historicalEffectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": null
|
||||
}
|
||||
154
tests/golden/WBV2-P1187-001/module-receipt.json
Normal file
154
tests/golden/WBV2-P1187-001/module-receipt.json
Normal file
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1187-001",
|
||||
"operation": "MODULE_FUNCTION_EXECUTION",
|
||||
"phase": "CONTINUE",
|
||||
"moduleId": "AUTO_GEOMETRY_NATIVE_NODE_READER",
|
||||
"batchId": "WBV2-P1187-001:AUTO_GEOMETRY_NATIVE_NODE_READER:1344290dd2cb9042",
|
||||
"selectedRecordIds": [
|
||||
"node:GeometryNodeAccumulateField",
|
||||
"node:GeometryNodeAttributeDomainSize",
|
||||
"node:GeometryNodeAttributeStatistic",
|
||||
"node:GeometryNodeBake",
|
||||
"node:GeometryNodeBlurAttribute"
|
||||
],
|
||||
"commandBudget": {
|
||||
"maxCommands": 48,
|
||||
"maxReadCommands": 16,
|
||||
"commandCount": 4,
|
||||
"readCommandCount": 0,
|
||||
"withinBudget": true
|
||||
},
|
||||
"status": "PASS",
|
||||
"source": {
|
||||
"paths": [
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_accumulate_field.cc",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_attribute_domain_size.cc",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_attribute_statistic.cc",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_bake.cc",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_blur_attribute.cc",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"web/tests/e2e/geometry-node-main-reader.spec.ts",
|
||||
"tests/files/web/generated/wbv2-geometry-1344290dd2cb9042.blend",
|
||||
"web/app/src/vendor/blender/web_engine.wasm"
|
||||
],
|
||||
"auditedPaths": [
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_accumulate_field.cc",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_attribute_domain_size.cc",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_attribute_statistic.cc",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_bake.cc",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_blur_attribute.cc",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"
|
||||
],
|
||||
"before": {
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_accumulate_field.cc": "ff6e76f50d30c274d7a283588a16d0c4d5cfa77c18257c1692f25af1c54e64c1",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_attribute_domain_size.cc": "4cbbd47e72e138c8665b6fb7f890bfea91464483b758d3cae66d7ea55883b29a",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_attribute_statistic.cc": "c9284d3bd53c064af47484d30f0a992c425b91376987957acf9a2f99ffe55caa",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_bake.cc": "129a6c7a34bf73870afa1422a395be6da765ab07058f3ad6042caf20770440b6",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_blur_attribute.cc": "58ae802ea16a130c39bc515837d7ce8cc0da216a1ed4d1b47d7d50a355690600",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp": "8a9b46e8f5f9c4b30ad7818fac6fbd64b20dc2d0a962630f50c8f352bdf230d3"
|
||||
},
|
||||
"after": {
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_accumulate_field.cc": "ff6e76f50d30c274d7a283588a16d0c4d5cfa77c18257c1692f25af1c54e64c1",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_attribute_domain_size.cc": "4cbbd47e72e138c8665b6fb7f890bfea91464483b758d3cae66d7ea55883b29a",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_attribute_statistic.cc": "c9284d3bd53c064af47484d30f0a992c425b91376987957acf9a2f99ffe55caa",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_bake.cc": "129a6c7a34bf73870afa1422a395be6da765ab07058f3ad6042caf20770440b6",
|
||||
"blender-5.2.0/source/blender/nodes/geometry/nodes/node_geo_blur_attribute.cc": "58ae802ea16a130c39bc515837d7ce8cc0da216a1ed4d1b47d7d50a355690600",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp": "8a9b46e8f5f9c4b30ad7818fac6fbd64b20dc2d0a962630f50c8f352bdf230d3"
|
||||
},
|
||||
"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": [
|
||||
"GeometryNodeAccumulateField type is read from Blender Main",
|
||||
"GeometryNodeAttributeDomainSize type is read from Blender Main",
|
||||
"GeometryNodeAttributeStatistic type is read from Blender Main",
|
||||
"GeometryNodeBake type is read from Blender Main",
|
||||
"GeometryNodeBlurAttribute 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": 147
|
||||
},
|
||||
{
|
||||
"command": "npm --prefix web run typecheck",
|
||||
"exitCode": 0,
|
||||
"durationMs": 3347
|
||||
},
|
||||
{
|
||||
"command": "npm --prefix web run build",
|
||||
"exitCode": 0,
|
||||
"durationMs": 3908
|
||||
},
|
||||
{
|
||||
"command": "WBV2_BATCH_TASK=WBV2-P1187-001 WBV2_BATCH_PRODUCTION=tests/golden/WBV2-P1187-001/geometry-node-reader-production.json WBV2_BATCH_FIXTURE=tests/files/web/generated/wbv2-geometry-1344290dd2cb9042.blend WBV2_BATCH_TYPES='[\"GeometryNodeAccumulateField\",\"GeometryNodeAttributeDomainSize\",\"GeometryNodeAttributeStatistic\",\"GeometryNodeBake\",\"GeometryNodeBlurAttribute\"]' WBV2_BATCH_UNITS='[\"node:GeometryNodeAccumulateField\",\"node:GeometryNodeAttributeDomainSize\",\"node:GeometryNodeAttributeStatistic\",\"node:GeometryNodeBake\",\"node:GeometryNodeBlurAttribute\"]' WEB_TEST_PORT=5371 npm --prefix web run test:e2e -- --workers=1 tests/e2e/geometry-node-main-reader.spec.ts",
|
||||
"exitCode": 0,
|
||||
"durationMs": 2679
|
||||
}
|
||||
],
|
||||
"verification": {
|
||||
"required": [
|
||||
"sourceHash",
|
||||
"wasmBuild",
|
||||
"positiveMainMutation",
|
||||
"negativeNoMutation",
|
||||
"undoRedo",
|
||||
"saveReopen",
|
||||
"aggregateManifest"
|
||||
],
|
||||
"chromiumOnly": true,
|
||||
"fullFamilyParity": false
|
||||
},
|
||||
"efficiency": {
|
||||
"existingEvidenceReused": false,
|
||||
"skippedCommands": 0,
|
||||
"totalDurationMs": 10081,
|
||||
"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": "b13e0577c3b06c062ee68430ed1d31270207374893fd1df69ba1c900bdcbc47a",
|
||||
"sourceTreeSha256": "600cb3dd441f09d9655b740735fbf8fa49ad6c14d308c68d59a29f9c338e4202",
|
||||
"unitCount": 3745,
|
||||
"planningEstimate": 5200,
|
||||
"hardTarget": false,
|
||||
"verifiedUnits": 613,
|
||||
"unverifiedUnits": 3132
|
||||
}
|
||||
},
|
||||
"nextTask": null
|
||||
}
|
||||
49
tests/golden/WBV2-P1187-001/module-run.log
Normal file
49
tests/golden/WBV2-P1187-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.29 kB
|
||||
dist/assets/storage.worker-D9TqXsGS.js 66.59 kB
|
||||
dist/assets/web-engine.worker-ynL11m10.js 362.11 kB
|
||||
dist/assets/viewport-render.worker-BKnJyAEz.js 634.08 kB
|
||||
dist/assets/web_engine-C04Dp4ba.wasm 16,243.50 kB │ gzip: 3,858.52 kB
|
||||
dist/assets/index-BgTbQCE2.css 15.35 kB │ gzip: 3.91 kB
|
||||
dist/assets/index-B1m0FaKy.js 1,190.30 kB │ gzip: 316.69 kB
|
||||
|
||||
✓ built in 477ms
|
||||
[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-P1187-001 WBV2_BATCH_PRODUCTION=tests/golden/WBV2-P1187-001/geometry-node-reader-production.json WBV2_BATCH_FIXTURE=tests/files/web/generated/wbv2-geometry-1344290dd2cb9042.blend WBV2_BATCH_TYPES='["GeometryNodeAccumulateField","GeometryNodeAttributeDomainSize","GeometryNodeAttributeStatistic","GeometryNodeBake","GeometryNodeBlurAttribute"]' WBV2_BATCH_UNITS='["node:GeometryNodeAccumulateField","node:GeometryNodeAttributeDomainSize","node:GeometryNodeAttributeStatistic","node:GeometryNodeBake","node:GeometryNodeBlurAttribute"]' WEB_TEST_PORT=5371 npm --prefix web run test:e2e -- --workers=1 tests/e2e/geometry-node-main-reader.spec.ts
|
||||
|
||||
> blender-web-editor@0.1.0-rc.1 test:e2e
|
||||
> playwright test --config playwright.config.ts --workers=1 tests/e2e/geometry-node-main-reader.spec.ts
|
||||
|
||||
|
||||
Running 1 test using 1 worker
|
||||
|
||||
✓ 1 tests/e2e/geometry-node-main-reader.spec.ts:14:1 › M10-01 production Worker preserves Main Geometry Node topology across save and reopen (1.5s)
|
||||
|
||||
1 passed (2.3s)
|
||||
[WebServer] (node:1269491) 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:1269545) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||||
217
tests/golden/WBV2-P1187-001/task-context.json
Normal file
217
tests/golden/WBV2-P1187-001/task-context.json
Normal file
@@ -0,0 +1,217 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1187-001",
|
||||
"parentTask": "WBV2-P1187-000",
|
||||
"status": "in_progress",
|
||||
"goal": "以一个共享 Blender Main reader、WASM build、Worker 路由和 Chromium receipt 批量验证 GeometryNodeAccumulateField, GeometryNodeAttributeDomainSize, GeometryNodeAttributeStatistic, GeometryNodeBake, GeometryNodeBlurAttribute 的真实 modifier/RNA 元数据。",
|
||||
"scope": {
|
||||
"gap": "capability:AUTO_GEOMETRY_NATIVE_NODE_READER",
|
||||
"ownerFamily": "NODES",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"node tools/web/check-task-context.mjs --task WBV2-P1187-001 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputMetadata": {
|
||||
"docs/EXECUTION_QUEUE.md": {
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"exists": true,
|
||||
"bytes": 4030,
|
||||
"mtime_ns": "1788479683141763387",
|
||||
"sha256": "9c201841d4d6825d6993414826dff09c82607e5681c88d3a99c36a2bc0d29719"
|
||||
},
|
||||
"docs/tasks/WBV2-P1187-001.md": {
|
||||
"path": "docs/tasks/WBV2-P1187-001.md",
|
||||
"exists": true,
|
||||
"bytes": 2712,
|
||||
"mtime_ns": "1788479672594098583",
|
||||
"sha256": "3ae51fdd1b4b6367542a5e692c2a649b39439766ab151f09eeea8add4a77dc0a"
|
||||
},
|
||||
"tests/golden/WBV2-P1187-000/manifest.json": {
|
||||
"path": "tests/golden/WBV2-P1187-000/manifest.json",
|
||||
"exists": true,
|
||||
"bytes": 1691,
|
||||
"mtime_ns": "1788479672594712296",
|
||||
"sha256": "ae29346ae5bc25a124f4b07fcf8fc9491b9b0624cf2e4b4c204e044c996bc927"
|
||||
},
|
||||
"docs/status/WBV2-P1187-000.md": {
|
||||
"path": "docs/status/WBV2-P1187-000.md",
|
||||
"exists": true,
|
||||
"bytes": 364,
|
||||
"mtime_ns": "1788479672594275456",
|
||||
"sha256": "f136ca5bf00ec619116081e16708a94f0e24732a6d2cc916726cbf23487b006f"
|
||||
}
|
||||
},
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 1107,
|
||||
"contextRemainingTokens": 276
|
||||
},
|
||||
"source": {
|
||||
"bytes": 8797,
|
||||
"tokens": 2200
|
||||
},
|
||||
"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": 314614,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/files/web/generated/wbv2-geometry-1344290dd2cb9042.blend",
|
||||
"bytes": 98417,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "web/tests/e2e/geometry-node-main-reader.spec.ts",
|
||||
"bytes": 3789,
|
||||
"reason": "CONTEXT_REMAINING_SPACE"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1187-001/module-receipt.json",
|
||||
"bytes": 7503,
|
||||
"reason": "CONTEXT_REMAINING_SPACE"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1187-001/modifier-reader-batch-production.json",
|
||||
"bytes": null,
|
||||
"reason": "MISSING_PATH"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1187-001/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P1187-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-P1187-001.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P1187-000/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P1187-000.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P1187-001.md",
|
||||
"tests/golden/WBV2-P1187-000/manifest.json",
|
||||
"docs/status/WBV2-P1187-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-P1187-000",
|
||||
"parentTask": "WBV2-P1186-001",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P1187-001",
|
||||
"artifactCount": 4
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P1187-000 status",
|
||||
"- task: `WBV2-P1187-000`; parent: `WBV2-P1186-001`; status: `done`",
|
||||
"- taskClass: `QUEUE_ENABLEMENT`; no modifier-family parity completion claimed",
|
||||
"- source-backed batch authorized: `AUTO_GEOMETRY_NATIVE_NODE_READER` (5 units)",
|
||||
"- dynamic inventory: `3745` units; verified `608`; unverified `3137`; bound delta `0`",
|
||||
"- nextTask: `WBV2-P1187-001`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 2712,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 49,
|
||||
"taskTokens": 678
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 4030,
|
||||
"lines": 58,
|
||||
"tokens": 1008
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P1187-001.md",
|
||||
"bytes": 2712,
|
||||
"lines": 49,
|
||||
"tokens": 678
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1187-000/manifest.json",
|
||||
"bytes": 1691,
|
||||
"lines": 51,
|
||||
"tokens": 423
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P1187-000.md",
|
||||
"bytes": 364,
|
||||
"lines": 8,
|
||||
"tokens": 91
|
||||
}
|
||||
],
|
||||
"sourceTokens": 2200,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 2200,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 3224,
|
||||
"serializedContextTokens": 683,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
@@ -129,3 +129,27 @@
|
||||
{"id":"WBV2-P1174-001","gapId":"AUTO_COMPOSITOR_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1174","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-P1175-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1175","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1175-001","gapId":"AUTO_COMPOSITOR_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1175","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-P1176-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1176","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1176-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1176","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-P1177-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1177","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1177-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1177","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-P1178-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1178","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1178-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1178","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-P1179-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1179","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1179-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1179","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-P1180-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1180","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1180-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1180","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-P1181-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1181","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1181-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1181","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-P1182-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1182","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1182-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1182","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-P1183-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1183","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1183-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1183","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-P1184-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1184","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1184-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1184","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-P1185-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1185","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1185-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1185","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-P1186-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1186","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1186-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1186","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-P1187-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1187","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1187-001","gapId":"AUTO_GEOMETRY_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1187","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
@@ -1,11 +1,15 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
import crypto from "node:crypto";
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
|
||||
const geometryNodesBlend = path.resolve(
|
||||
import.meta.dirname,
|
||||
"../../../tests/files/web/modifier_geometry_nodes_scene.blend",
|
||||
);
|
||||
const root = path.resolve(import.meta.dirname, "../../..");
|
||||
const fixturePath = process.env.WBV2_BATCH_FIXTURE ?? "tests/files/web/modifier_geometry_nodes_scene.blend";
|
||||
const geometryNodesBlend = path.resolve(import.meta.dirname, "../../../", fixturePath);
|
||||
const task = process.env.WBV2_BATCH_TASK ?? "WBV2-P1125-000";
|
||||
const sourceUnits = JSON.parse(process.env.WBV2_BATCH_UNITS ?? "[]") as string[];
|
||||
const expectedTypes = JSON.parse(process.env.WBV2_BATCH_TYPES ?? "[]") as string[];
|
||||
const productionPath = process.env.WBV2_BATCH_PRODUCTION ?? `tests/golden/${task}/geometry-node-reader-production.json`;
|
||||
|
||||
test("M10-01 production Worker preserves Main Geometry Node topology across save and reopen", async ({ page }) => {
|
||||
test.setTimeout(120_000);
|
||||
@@ -31,6 +35,7 @@ test("M10-01 production Worker preserves Main Geometry Node topology across save
|
||||
second.terminate();
|
||||
return {
|
||||
graphNames: initial.map((graph) => graph.name),
|
||||
nodeTypes: initial.flatMap((graph) => graph.nodes.map((node) => node.type)),
|
||||
nodeCount: initial.reduce((count, graph) => count + graph.nodes.length, 0),
|
||||
linkCount: initial.reduce((count, graph) => count + graph.links.length, 0),
|
||||
defaultCount: initial.reduce((count, graph) => count + graph.nodes.reduce(
|
||||
@@ -43,15 +48,36 @@ test("M10-01 production Worker preserves Main Geometry Node topology across save
|
||||
};
|
||||
}, { blendBytes: new Uint8Array(blendBytes) });
|
||||
|
||||
expect(result).toEqual({
|
||||
graphNames: ["WebGeometryNodes", "WebGeometryNodesSetPosition", "WebGeometryNodesSimulation"],
|
||||
nodeCount: 10,
|
||||
linkCount: 7,
|
||||
defaultCount: 9,
|
||||
unsupportedPreserved: true,
|
||||
stable: true,
|
||||
hashes: result.hashes,
|
||||
});
|
||||
expect(result.hashes).toHaveLength(3);
|
||||
expect(result.hashes.every((hash) => /^[0-9a-f]{64}$/.test(hash ?? ""))).toBe(true);
|
||||
fs.mkdirSync(path.dirname(path.join(root, productionPath)), { recursive: true });
|
||||
fs.writeFileSync(path.join(root, productionPath), `${JSON.stringify({
|
||||
schemaVersion: 1,
|
||||
task,
|
||||
operation: "GEOMETRY_NODE_MAIN_READER_CHROMIUM",
|
||||
browser: "chromium",
|
||||
queueMutation: false,
|
||||
fixture: fixturePath,
|
||||
fixtureSha256: crypto.createHash("sha256").update(blendBytes).digest("hex"),
|
||||
sourceUnits,
|
||||
expectedTypes,
|
||||
...result,
|
||||
}, null, 2)}\n`);
|
||||
|
||||
if (sourceUnits.length > 0) {
|
||||
expect(result.nodeTypes).toEqual(expect.arrayContaining(expectedTypes));
|
||||
expect(result.stable).toBe(true);
|
||||
expect(result.hashes.every((hash) => /^[0-9a-f]{64}$/.test(hash ?? ""))).toBe(true);
|
||||
} else {
|
||||
expect(result).toEqual({
|
||||
graphNames: ["WebGeometryNodes", "WebGeometryNodesSetPosition", "WebGeometryNodesSimulation"],
|
||||
nodeTypes: expect.any(Array),
|
||||
nodeCount: 10,
|
||||
linkCount: 7,
|
||||
defaultCount: 9,
|
||||
unsupportedPreserved: true,
|
||||
stable: true,
|
||||
hashes: result.hashes,
|
||||
});
|
||||
expect(result.hashes).toHaveLength(3);
|
||||
expect(result.hashes.every((hash) => /^[0-9a-f]{64}$/.test(hash ?? ""))).toBe(true);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user