chore(web): continuous handoff WBV2-P1159-001
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
| 字段 | 值 |
|
||||
| --- | --- |
|
||||
| 里程碑 | WBV2 capability workflow |
|
||||
| 当前任务 | `WBV2-P1158-001` |
|
||||
| parent manifest | `tests/golden/WBV2-P1158-000/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P1158-001.md`](tasks/WBV2-P1158-001.md) |
|
||||
| 当前任务 | `WBV2-P1159-001` |
|
||||
| parent manifest | `tests/golden/WBV2-P1159-000/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P1159-001.md`](tasks/WBV2-P1159-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-P1159-001.md
Normal file
9
docs/status/WBV2-P1159-001.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# WBV2-P1159-001 status
|
||||
|
||||
- task: `WBV2-P1159-001`; module: `LINE_STYLE_COLLECTION_READER_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 `478`; unverified `3267`; planning estimate `5200` (non-binding); this-segment binding delta: `5`
|
||||
- historical 6900-entry inventory remains read-only; full-family parity: `false`
|
||||
- nextTask: `NONE`
|
||||
45
docs/tasks/WBV2-P1159-001.md
Normal file
45
docs/tasks/WBV2-P1159-001.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# WBV2-P1159-001: verify line style collection reader batch
|
||||
|
||||
- task: WBV2-P1159-001
|
||||
- parent: WBV2-P1159-000
|
||||
- status: in_progress
|
||||
- gap: capability:LINE_STYLE_COLLECTION_READER_BATCH
|
||||
- ownerFamily: DRAWING
|
||||
- targetImplementationClass: LOCAL_EXACT
|
||||
- Implementation entrypoint: `node tools/web/run-wbv2-module-task.mjs --task WBV2-P1159-001 --write`
|
||||
|
||||
## 目标
|
||||
|
||||
以一个共享 Blender Main reader、WASM build、Worker 路由和 Chromium receipt 批量验证 RNA-only reader units 的真实 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/line_style_modifier_batch_scene.blend`
|
||||
- Chromium test: `web/tests/e2e/wbv2-line-style-reader-production.spec.ts`
|
||||
- Selected modifier units: none
|
||||
- Selected RNA units: `rna-struct:BlendDataLineStyles`, `rna-struct:LineStyleColorModifiers`, `rna-struct:LineStyleAlphaModifiers`, `rna-struct:LineStyleThicknessModifiers`, `rna-struct:LineStyleGeometryModifiers`
|
||||
|
||||
## 验收
|
||||
|
||||
- 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-P1159-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-P1159-001/module-receipt.json`
|
||||
- Aggregate production evidence: `tests/golden/WBV2-P1159-001/modifier-reader-batch-production.json`
|
||||
- Manifest: `tests/golden/WBV2-P1159-001/manifest.json`
|
||||
- Status: `docs/status/WBV2-P1159-001.md`
|
||||
- Rollback: restore WBV2-P1159-000 as queue parent without rewriting prior evidence.
|
||||
BIN
tests/files/web/line_style_modifier_batch_scene.blend
Normal file
BIN
tests/files/web/line_style_modifier_batch_scene.blend
Normal file
Binary file not shown.
42
tests/golden/WBV2-P1159-000/manifest.json
Normal file
42
tests/golden/WBV2-P1159-000/manifest.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1159-000",
|
||||
"parentTask": "WBV2-P1158-001",
|
||||
"operation": "AUTHORIZE_SOURCE_BACKED_MODULE_BATCH",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "MODULE_EXECUTION_QUEUE_BRIDGE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P1158-001/manifest.json",
|
||||
"sha256": "519d51cd20282b5ca941ab33ae359e06ac33a034f216805275f1f58fb05a2556"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P1159-000/module-execution-plan.json",
|
||||
"sha256": "5ab51feaee1b61853baa68a40b68c665a51a3cb2643ec3d361795fa5fe4663a6"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P1159-000/successor-authorization-report.json",
|
||||
"sha256": "7f3e99e215c9c53b93609adaf52db805959d86c8e5de59efbda80c7da31f501a"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P1159-000.md",
|
||||
"sha256": "d08be511beee193662783943956094e4f01be166bc8ce1dbfc76125f6546ba77"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"sourceBackedSuccessor": true,
|
||||
"moduleId": "LINE_STYLE_COLLECTION_READER_BATCH",
|
||||
"batchSize": 5,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"dynamicUnitCount": 3745,
|
||||
"dynamicVerifiedUnits": 473,
|
||||
"dynamicUnverifiedUnits": 3272,
|
||||
"boundUnitDelta": 0,
|
||||
"fullHistoricalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P1159-001"
|
||||
}
|
||||
7929
tests/golden/WBV2-P1159-000/module-execution-plan.json
Normal file
7929
tests/golden/WBV2-P1159-000/module-execution-plan.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1159-001",
|
||||
"operation": "LINE_STYLE_READER_CHROMIUM_SAVE_REOPEN",
|
||||
"browser": "chromium",
|
||||
"queueMutation": false,
|
||||
"fixture": "tests/files/web/line_style_modifier_batch_scene.blend",
|
||||
"fixtureSha256": "997d904b79d5c1578eb2c51d7abd9d02129cd2385f39a2a7b33424ba2780e0aa",
|
||||
"sourceUnits": [
|
||||
"rna-struct:BlendDataLineStyles",
|
||||
"rna-struct:LineStyleColorModifiers",
|
||||
"rna-struct:LineStyleAlphaModifiers",
|
||||
"rna-struct:LineStyleThicknessModifiers",
|
||||
"rna-struct:LineStyleGeometryModifiers"
|
||||
],
|
||||
"before": [
|
||||
{
|
||||
"id": "line-style:WebGapLineStyle",
|
||||
"name": "WebGapLineStyle",
|
||||
"color": [
|
||||
0.20000000298023224,
|
||||
0.4000000059604645,
|
||||
0.800000011920929
|
||||
],
|
||||
"alpha": 0.75,
|
||||
"thickness": 2.5,
|
||||
"modifierCounts": {
|
||||
"alpha": 1,
|
||||
"color": 1,
|
||||
"geometry": 2,
|
||||
"thickness": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"styleCount": 1,
|
||||
"after": [
|
||||
{
|
||||
"id": "line-style:WebGapLineStyle",
|
||||
"name": "WebGapLineStyle",
|
||||
"color": [
|
||||
0.20000000298023224,
|
||||
0.4000000059604645,
|
||||
0.800000011920929
|
||||
],
|
||||
"alpha": 0.75,
|
||||
"thickness": 2.5,
|
||||
"modifierCounts": {
|
||||
"alpha": 1,
|
||||
"color": 1,
|
||||
"geometry": 2,
|
||||
"thickness": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"second": [
|
||||
{
|
||||
"id": "line-style:WebGapLineStyle",
|
||||
"name": "WebGapLineStyle",
|
||||
"color": [
|
||||
0.20000000298023224,
|
||||
0.4000000059604645,
|
||||
0.800000011920929
|
||||
],
|
||||
"alpha": 0.75,
|
||||
"thickness": 2.5,
|
||||
"modifierCounts": {
|
||||
"alpha": 1,
|
||||
"color": 1,
|
||||
"geometry": 2,
|
||||
"thickness": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"saveReopenExact": true,
|
||||
"deterministicExact": true,
|
||||
"savedSha256": "997d904b79d5c1578eb2c51d7abd9d02129cd2385f39a2a7b33424ba2780e0aa",
|
||||
"malformed": {
|
||||
"code": "BLEND_READ_FAILED",
|
||||
"message": "Input is not an uncompressed, gzip, or zstd Blender file"
|
||||
}
|
||||
}
|
||||
99
tests/golden/WBV2-P1159-001/manifest.json
Normal file
99
tests/golden/WBV2-P1159-001/manifest.json
Normal file
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1159-001",
|
||||
"parentTask": "WBV2-P1159-000",
|
||||
"operation": "MODULE_FUNCTION_EXECUTION",
|
||||
"taskClass": "MODULE",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "BLENDER_WEB_FUNCTION_MODULE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P1159-000/manifest.json",
|
||||
"sha256": "38ce017a10e5f070f0ceed0d5c69632cd9d047ed9ed1072db51509721d52d0fe"
|
||||
},
|
||||
"source1": {
|
||||
"path": "blender-5.2.0/source/blender/makesrna/intern/rna_main_api.cc",
|
||||
"sha256": "98ba7298f114e7b296051a16fda41de5b4b9d3ea69f2cfdfae3723bd3de441ff"
|
||||
},
|
||||
"source2": {
|
||||
"path": "blender-5.2.0/source/blender/makesrna/intern/rna_linestyle.cc",
|
||||
"sha256": "80d9fa286b7952ddecb39137a033cd1320f6747086dbeb41fe009ad7b0186f28"
|
||||
},
|
||||
"source3": {
|
||||
"path": "blender-5.2.0/source/blender/makesrna/intern/rna_linestyle.cc",
|
||||
"sha256": "80d9fa286b7952ddecb39137a033cd1320f6747086dbeb41fe009ad7b0186f28"
|
||||
},
|
||||
"source4": {
|
||||
"path": "blender-5.2.0/source/blender/makesrna/intern/rna_linestyle.cc",
|
||||
"sha256": "80d9fa286b7952ddecb39137a033cd1320f6747086dbeb41fe009ad7b0186f28"
|
||||
},
|
||||
"source5": {
|
||||
"path": "blender-5.2.0/source/blender/makesrna/intern/rna_linestyle.cc",
|
||||
"sha256": "80d9fa286b7952ddecb39137a033cd1320f6747086dbeb41fe009ad7b0186f28"
|
||||
},
|
||||
"source6": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"sha256": "f6fbd04315c48ad4dfbf109b91e5b350550d23c227e5c11a71a58f09e923c990"
|
||||
},
|
||||
"source7": {
|
||||
"path": "web/tests/e2e/wbv2-line-style-reader-production.spec.ts",
|
||||
"sha256": "a84afe76578bc78dfb3727abfea33c32b10417bf19a411053d21db9aef1e23fe"
|
||||
},
|
||||
"source8": {
|
||||
"path": "tests/files/web/line_style_modifier_batch_scene.blend",
|
||||
"sha256": "997d904b79d5c1578eb2c51d7abd9d02129cd2385f39a2a7b33424ba2780e0aa"
|
||||
},
|
||||
"source9": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "32bc36aba563fe1ed0fb5d0292ca8a3ada1eecd6d45e38d9dcde565f02a312fe"
|
||||
},
|
||||
"evidence1": {
|
||||
"path": "tests/golden/WBV2-P1159-001/line-style-reader-production.json",
|
||||
"sha256": "ee652cdc845647206b3856d97c781f623ef7905ffe54c29b366f2a8c8ce30535"
|
||||
},
|
||||
"moduleReceipt": {
|
||||
"path": "tests/golden/WBV2-P1159-001/module-receipt.json",
|
||||
"sha256": "55be2535089c0748899a72fb0984323f63251844b1dc3149837c913ccb7f94f5"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P1159-001.md",
|
||||
"sha256": "c0a66b526016b4faa22db75c4bdc744acd633fdc7000efb1424c6458ce29b1e9"
|
||||
},
|
||||
"log": {
|
||||
"path": "tests/golden/WBV2-P1159-001/module-run.log",
|
||||
"sha256": "9683b7678c24d7a3f33d66c2eb0edf1db649f29cdf067ad6caa43a92033fc4e4"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P1159-000/module-execution-plan.json",
|
||||
"sha256": "51f559bc3900fdcaf9e8639505a160fad9f83d7239ae0ed26258dea439f40235"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P1159-001/task-context.json",
|
||||
"sha256": "9d321c8684896b3f9e45f7290b364c8c66d63f7147838c4fa9221da3f3794170"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"moduleId": "LINE_STYLE_COLLECTION_READER_BATCH",
|
||||
"sourceBacked": true,
|
||||
"positiveCases": 2,
|
||||
"negativeCases": 3,
|
||||
"recoveryCases": 3,
|
||||
"commandCount": 4,
|
||||
"reusedReceiptCount": 1,
|
||||
"sourceUnchanged": true,
|
||||
"fullFamilyParity": false,
|
||||
"dynamicInventoryPath": "tests/golden/WBV2/dynamic-inventory.json",
|
||||
"dynamicSourceTreeSha256": "600cb3dd441f09d9655b740735fbf8fa49ad6c14d308c68d59a29f9c338e4202",
|
||||
"dynamicUnitCount": 3745,
|
||||
"dynamicVerifiedUnits": 478,
|
||||
"dynamicUnverifiedUnits": 3267,
|
||||
"planningEstimate": 5200,
|
||||
"historicalInventoryTotal": 6900,
|
||||
"historicalEffectiveCompleted": 290,
|
||||
"historicalEffectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": null
|
||||
}
|
||||
125
tests/golden/WBV2-P1159-001/module-receipt.json
Normal file
125
tests/golden/WBV2-P1159-001/module-receipt.json
Normal file
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1159-001",
|
||||
"operation": "MODULE_FUNCTION_EXECUTION",
|
||||
"moduleId": "LINE_STYLE_COLLECTION_READER_BATCH",
|
||||
"status": "PASS",
|
||||
"source": {
|
||||
"paths": [
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_main_api.cc",
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_linestyle.cc",
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_linestyle.cc",
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_linestyle.cc",
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_linestyle.cc",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"web/tests/e2e/wbv2-line-style-reader-production.spec.ts",
|
||||
"tests/files/web/line_style_modifier_batch_scene.blend",
|
||||
"web/app/src/vendor/blender/web_engine.wasm"
|
||||
],
|
||||
"before": {
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_main_api.cc": "98ba7298f114e7b296051a16fda41de5b4b9d3ea69f2cfdfae3723bd3de441ff",
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_linestyle.cc": "80d9fa286b7952ddecb39137a033cd1320f6747086dbeb41fe009ad7b0186f28",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp": "f6fbd04315c48ad4dfbf109b91e5b350550d23c227e5c11a71a58f09e923c990",
|
||||
"web/tests/e2e/wbv2-line-style-reader-production.spec.ts": "a84afe76578bc78dfb3727abfea33c32b10417bf19a411053d21db9aef1e23fe",
|
||||
"tests/files/web/line_style_modifier_batch_scene.blend": "997d904b79d5c1578eb2c51d7abd9d02129cd2385f39a2a7b33424ba2780e0aa",
|
||||
"web/app/src/vendor/blender/web_engine.wasm": "32bc36aba563fe1ed0fb5d0292ca8a3ada1eecd6d45e38d9dcde565f02a312fe"
|
||||
},
|
||||
"after": {
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_main_api.cc": "98ba7298f114e7b296051a16fda41de5b4b9d3ea69f2cfdfae3723bd3de441ff",
|
||||
"blender-5.2.0/source/blender/makesrna/intern/rna_linestyle.cc": "80d9fa286b7952ddecb39137a033cd1320f6747086dbeb41fe009ad7b0186f28",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp": "f6fbd04315c48ad4dfbf109b91e5b350550d23c227e5c11a71a58f09e923c990",
|
||||
"web/tests/e2e/wbv2-line-style-reader-production.spec.ts": "a84afe76578bc78dfb3727abfea33c32b10417bf19a411053d21db9aef1e23fe",
|
||||
"tests/files/web/line_style_modifier_batch_scene.blend": "997d904b79d5c1578eb2c51d7abd9d02129cd2385f39a2a7b33424ba2780e0aa",
|
||||
"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": [
|
||||
"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": 149
|
||||
},
|
||||
{
|
||||
"command": "npm --prefix web run typecheck",
|
||||
"exitCode": 0,
|
||||
"durationMs": 3283
|
||||
},
|
||||
{
|
||||
"command": "npm --prefix web run build",
|
||||
"exitCode": 0,
|
||||
"durationMs": 3856
|
||||
},
|
||||
{
|
||||
"command": "WBV2_BATCH_TASK=WBV2-P1159-001 WBV2_BATCH_PRODUCTION=tests/golden/WBV2-P1159-001/line-style-reader-production.json WBV2_BATCH_FIXTURE=tests/files/web/line_style_modifier_batch_scene.blend WBV2_BATCH_TYPES='[]' WBV2_BATCH_UNITS='[\"rna-struct:BlendDataLineStyles\",\"rna-struct:LineStyleColorModifiers\",\"rna-struct:LineStyleAlphaModifiers\",\"rna-struct:LineStyleThicknessModifiers\",\"rna-struct:LineStyleGeometryModifiers\"]' WEB_TEST_PORT=5371 npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-line-style-reader-production.spec.ts",
|
||||
"exitCode": 0,
|
||||
"durationMs": 2964
|
||||
}
|
||||
],
|
||||
"verification": {
|
||||
"required": [
|
||||
"sourceHash",
|
||||
"wasmBuild",
|
||||
"positiveMainMutation",
|
||||
"negativeNoMutation",
|
||||
"undoRedo",
|
||||
"saveReopen",
|
||||
"aggregateManifest"
|
||||
],
|
||||
"chromiumOnly": true,
|
||||
"fullFamilyParity": false
|
||||
},
|
||||
"efficiency": {
|
||||
"existingEvidenceReused": false,
|
||||
"skippedCommands": 0,
|
||||
"totalDurationMs": 10252,
|
||||
"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": "a202315957c2a8eb2a812408d3fc9cdf132f8a18c7ab61854f0c6ba56798bee1",
|
||||
"sourceTreeSha256": "600cb3dd441f09d9655b740735fbf8fa49ad6c14d308c68d59a29f9c338e4202",
|
||||
"unitCount": 3745,
|
||||
"planningEstimate": 5200,
|
||||
"hardTarget": false,
|
||||
"verifiedUnits": 478,
|
||||
"unverifiedUnits": 3267
|
||||
}
|
||||
},
|
||||
"nextTask": null
|
||||
}
|
||||
49
tests/golden/WBV2-P1159-001/module-run.log
Normal file
49
tests/golden/WBV2-P1159-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-P1159-001 WBV2_BATCH_PRODUCTION=tests/golden/WBV2-P1159-001/line-style-reader-production.json WBV2_BATCH_FIXTURE=tests/files/web/line_style_modifier_batch_scene.blend WBV2_BATCH_TYPES='[]' WBV2_BATCH_UNITS='["rna-struct:BlendDataLineStyles","rna-struct:LineStyleColorModifiers","rna-struct:LineStyleAlphaModifiers","rna-struct:LineStyleThicknessModifiers","rna-struct:LineStyleGeometryModifiers"]' WEB_TEST_PORT=5371 npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-line-style-reader-production.spec.ts
|
||||
|
||||
> blender-web-editor@0.1.0-rc.1 test:e2e
|
||||
> playwright test --config playwright.config.ts --workers=1 tests/e2e/wbv2-line-style-reader-production.spec.ts
|
||||
|
||||
|
||||
Running 1 test using 1 worker
|
||||
|
||||
✓ 1 tests/e2e/wbv2-line-style-reader-production.spec.ts:13:1 › line style reader preserves Blender Main style metadata (1.8s)
|
||||
|
||||
1 passed (2.6s)
|
||||
[WebServer] (node:167535) 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:167589) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||||
187
tests/golden/WBV2-P1159-001/task-context.json
Normal file
187
tests/golden/WBV2-P1159-001/task-context.json
Normal file
@@ -0,0 +1,187 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1159-001",
|
||||
"parentTask": "WBV2-P1159-000",
|
||||
"status": "in_progress",
|
||||
"goal": "以一个共享 Blender Main reader、WASM build、Worker 路由和 Chromium receipt 批量验证 RNA-only reader units 的真实 modifier/RNA 元数据。",
|
||||
"scope": {
|
||||
"gap": "capability:LINE_STYLE_COLLECTION_READER_BATCH",
|
||||
"ownerFamily": "DRAWING",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"node tools/web/check-task-context.mjs --task WBV2-P1159-001 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 1918,
|
||||
"contextRemainingTokens": 477
|
||||
},
|
||||
"source": {
|
||||
"bytes": 7986,
|
||||
"tokens": 1999
|
||||
},
|
||||
"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/line_style_modifier_batch_scene.blend",
|
||||
"bytes": 86107,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "web/tests/e2e/wbv2-line-style-reader-production.spec.ts",
|
||||
"bytes": 4028,
|
||||
"reason": "CONTEXT_REMAINING_SPACE"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1159-001/module-receipt.json",
|
||||
"bytes": null,
|
||||
"reason": "MISSING_PATH"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1159-001/modifier-reader-batch-production.json",
|
||||
"bytes": null,
|
||||
"reason": "MISSING_PATH"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1159-001/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P1159-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-P1159-001.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P1159-000/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P1159-000.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P1159-001.md",
|
||||
"tests/golden/WBV2-P1159-000/manifest.json",
|
||||
"docs/status/WBV2-P1159-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-P1159-000",
|
||||
"parentTask": "WBV2-P1158-001",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P1159-001",
|
||||
"artifactCount": 4
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P1159-000 status",
|
||||
"- task: `WBV2-P1159-000`; parent: `WBV2-P1158-001`; status: `done`",
|
||||
"- taskClass: `QUEUE_ENABLEMENT`; no modifier-family parity completion claimed",
|
||||
"- source-backed batch authorized: `LINE_STYLE_COLLECTION_READER_BATCH` (5 units)",
|
||||
"- dynamic inventory: `3745` units; verified `473`; unverified `3272`; bound delta `0`",
|
||||
"- nextTask: `WBV2-P1159-001`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 2201,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 46,
|
||||
"taskTokens": 551
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 4030,
|
||||
"lines": 58,
|
||||
"tokens": 1008
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P1159-001.md",
|
||||
"bytes": 2201,
|
||||
"lines": 46,
|
||||
"tokens": 551
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1159-000/manifest.json",
|
||||
"bytes": 1389,
|
||||
"lines": 43,
|
||||
"tokens": 348
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P1159-000.md",
|
||||
"bytes": 366,
|
||||
"lines": 8,
|
||||
"tokens": 92
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1999,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1999,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 3023,
|
||||
"serializedContextTokens": 655,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
@@ -95,3 +95,5 @@
|
||||
{"id":"WBV2-P1157-001","gapId":"SHAPE_KEY_POINT_READER_BATCH","ownerFamily":"ANIMATION","sourceTask":"1157","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-P1158-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1158","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1158-001","gapId":"LINE_STYLE_READER_BATCH","ownerFamily":"DRAWING","sourceTask":"1158","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-P1159-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1159","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1159-001","gapId":"LINE_STYLE_COLLECTION_READER_BATCH","ownerFamily":"DRAWING","sourceTask":"1159","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
@@ -5,7 +5,7 @@ import { expect, test } from "@playwright/test";
|
||||
|
||||
const root = path.resolve(import.meta.dirname, "../../..");
|
||||
const task = process.env.WBV2_BATCH_TASK ?? "WBV2-P1158-001";
|
||||
const fixture = "tests/files/web/generated/M16-GAP-00008-datablock-FreestyleLineStyle.blend";
|
||||
const fixture = process.env.WBV2_BATCH_FIXTURE ?? "tests/files/web/generated/M16-GAP-00008-datablock-FreestyleLineStyle.blend";
|
||||
const fixtureBytes = fs.readFileSync(path.join(root, fixture));
|
||||
const fixtureSha256 = crypto.createHash("sha256").update(fixtureBytes).digest("hex");
|
||||
const sourceUnits = JSON.parse(process.env.WBV2_BATCH_UNITS ?? '["rna-struct:FreestyleLineStyle","rna-struct:LineStyleModifier","rna-struct:LineStyleAlphaModifier","rna-struct:LineStyleColorModifier","rna-struct:LineStyleGeometryModifier","rna-struct:LineStyleThicknessModifier"]');
|
||||
@@ -22,6 +22,7 @@ test("line style reader preserves Blender Main style metadata", async ({ page })
|
||||
alpha: style.alpha,
|
||||
thickness: style.thickness,
|
||||
geometry: style.geometry,
|
||||
modifierCounts: style.modifierCounts ?? style.modifiers ?? null,
|
||||
}));
|
||||
const client = new WebEngineClient({ timeoutMs: 60_000 });
|
||||
const reopenedClient = new WebEngineClient({ timeoutMs: 60_000 });
|
||||
@@ -71,6 +72,13 @@ test("line style reader preserves Blender Main style metadata", async ({ page })
|
||||
|
||||
expect(result.error).toBeUndefined();
|
||||
expect(result.styleCount).toBeGreaterThan(0);
|
||||
if (task.includes("COLLECTION")) {
|
||||
const counts = result.before[0]?.modifierCounts ?? {};
|
||||
expect(counts.color).toBeGreaterThan(0);
|
||||
expect(counts.alpha).toBeGreaterThan(0);
|
||||
expect(counts.thickness).toBeGreaterThan(0);
|
||||
expect(counts.geometry).toBeGreaterThan(0);
|
||||
}
|
||||
expect(result.saveReopenExact).toBe(true);
|
||||
expect(result.deterministicExact).toBe(true);
|
||||
expect(result.malformed?.code).not.toBe("ACCEPTED_MALFORMED");
|
||||
|
||||
Reference in New Issue
Block a user