Rebuild local Blender WASM environment and recovery evidence
This commit is contained in:
35
tests/golden/WBV2-P1-005/manifest.json
Normal file
35
tests/golden/WBV2-P1-005/manifest.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1-005",
|
||||
"parentTask": "WBV2-P1-004",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "BLENDER_5_2_WASM_MAIN",
|
||||
"operation": "STORAGE_JOURNAL_RECOVERY_LOCAL_BOUNDED",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/WBV2-P1-004/manifest.json", "sha256": "19d9cbcf2455df8ffad49907b1765aeab45d865bd33a5771ed16a153b29887a1"},
|
||||
"fixture": {"path": "tests/files/web/generated/WBV2-P1-005-workflow-harden_opfs_indexeddb_journal_recovery.blend", "sha256": "07455729e45c5b59caddfd2b06dbe76296ef4cb90d558d8a6c345d96f12ebdda"},
|
||||
"generator": {"path": "tools/web/generated/WBV2-P1-005.py", "sha256": "de43529b8e5a593ae6e4d7794ab62b049dc19594ac898c0719a0f55cdc56f60d"},
|
||||
"desktopChecker": {"path": "tools/web/check-wbv2-p1-005-desktop.py", "sha256": "5f0623982e94c4d7e61c3ededd8a37f9188d9165fad211af4473d604f4532676"},
|
||||
"productionReader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "7c36f36872248226ea6c96c281c49fd7b58af28e5b6d52f6f5ef10e391daedf3"},
|
||||
"checker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "5cd0dd03ee788f67fe2eb4543589fee4a47c21234a419a6f18b1e3e0c3a3c2e4"},
|
||||
"preflight": {"path": "tools/web/generated-gap-preflight.mjs", "sha256": "b9b14de9b38e894d607d851eda3a868c1936529c48f035bbf92a5738905f68f3"},
|
||||
"wasmJavaScript": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "e2b21fcc3c9d098cfb343fc682776c2ed95678064e95eabd71409a8b3284cce0"},
|
||||
"wasmBinary": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "4df07c381505d7c06050f568c13905d053e7b02294bd210ac162a2dd32e3074b"},
|
||||
"report": {"path": "tests/golden/WBV2-P1-005/storage-journal-report.json", "sha256": "4dcbc6e11868610d71bde782fbfbb84bfd94afdd6168e588d4a4e51cfd728c34"},
|
||||
"desktopReport": {"path": "tests/golden/WBV2-P1-005/storage-journal-desktop-report.json", "sha256": "c328c0ce9e3a672c79ae21fdbe5f369ce58bd02d3e818f769b395287708c1eed"},
|
||||
"status": {"path": "docs/status/WBV2-P1-005.md", "sha256": "b779068972c37706472da7090c2a58f222e0127430c38880ca524a41cdb4da13"},
|
||||
"taskContext": {"path": "tests/golden/WBV2-P1-005/task-context.json", "sha256": "b8353597bffc19c8e005c4ca979916a12fd6cecab6c5e7e42b639e447000c287"},
|
||||
"commandLog": {"path": "tests/golden/WBV2-P1-005/command.log", "sha256": "582cbd1a810f1bf7c79948bff064949a6be65093602524ce0e04ffeed61052c1"},
|
||||
"wasmBuildLog": {"path": "tests/golden/WBV2-P1-005/wasm-build.log", "sha256": "7f21f5446576da369e7d925095695103e12be1afdec7a7e899a1d42e468fc74c"}
|
||||
},
|
||||
"negativeMatrix": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION",
|
||||
"interruptedCommit": "OLD_PROJECT_USABLE",
|
||||
"hashMismatch": "QUARANTINED",
|
||||
"restart": "RECOVERED",
|
||||
"storageAfterRecovery": "ZERO"
|
||||
},
|
||||
"nextTask": "WBV2-P2-001"
|
||||
}
|
||||
53
tests/golden/WBV2-P1-005/storage-journal-desktop-report.json
Normal file
53
tests/golden/WBV2-P1-005/storage-journal-desktop-report.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"contract": {
|
||||
"budget": {
|
||||
"maxJournalEntries": 32,
|
||||
"maxProjectBytes": 4194304
|
||||
},
|
||||
"contractId": "workflow:harden_opfs_indexeddb_journal_recovery",
|
||||
"extensions": {
|
||||
"futureField": {
|
||||
"kind": "opaque",
|
||||
"value": "preserve-me"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"expected": "sha256:project-revision-8",
|
||||
"mismatch": "QUARANTINED",
|
||||
"verified": false
|
||||
},
|
||||
"journal": {
|
||||
"interruptedAt": "BEFORE_PUBLISH",
|
||||
"oldProjectUsable": true,
|
||||
"oldRevision": 7,
|
||||
"recovery": "ROLLBACK_OLD_REVISION",
|
||||
"stagedRevision": 8
|
||||
},
|
||||
"restart": {
|
||||
"generationAfter": 2,
|
||||
"generationBefore": 1,
|
||||
"status": "RECOVERED"
|
||||
},
|
||||
"schemaHash": "c7655279da06b11a53cce4b378f578369e161da132d07b9078024dd6fc796150",
|
||||
"schemaVersion": 1,
|
||||
"storage": {
|
||||
"indexeddb": {
|
||||
"afterRecovery": 0,
|
||||
"journalEntriesBefore": 1,
|
||||
"metadataRevision": 7
|
||||
},
|
||||
"opfs": {
|
||||
"afterRecovery": 0,
|
||||
"projectReadable": true,
|
||||
"stagingFilesBefore": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"fixtureSha256": "07455729e45c5b59caddfd2b06dbe76296ef4cb90d558d8a6c345d96f12ebdda",
|
||||
"operation": "STORAGE_JOURNAL_RECOVERY_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"sourceSha256": "b590362998b513d9fa81acf2ee13308d0b16f8010a8fb13264082b963a9abf5b",
|
||||
"task": "WBV2-P1-005"
|
||||
}
|
||||
50
tests/golden/WBV2-P1-005/storage-journal-report.json
Normal file
50
tests/golden/WBV2-P1-005/storage-journal-report.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1-005",
|
||||
"operation": "STORAGE_JOURNAL_RECOVERY_LOCAL_BOUNDED",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/WBV2-P1-005-workflow-harden_opfs_indexeddb_journal_recovery.blend",
|
||||
"sha256": "07455729e45c5b59caddfd2b06dbe76296ef4cb90d558d8a6c345d96f12ebdda"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/WBV2-P1-005/storage-journal-desktop-report.json",
|
||||
"sourceSha256": "b590362998b513d9fa81acf2ee13308d0b16f8010a8fb13264082b963a9abf5b",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"contractId": "workflow:harden_opfs_indexeddb_journal_recovery",
|
||||
"storageJournalContractStatus": "AVAILABLE",
|
||||
"revision": 1,
|
||||
"restart": {
|
||||
"generationAfter": 2,
|
||||
"generationBefore": 1,
|
||||
"status": "RECOVERED"
|
||||
}
|
||||
},
|
||||
"journal": {
|
||||
"interruptedCommit": "BEFORE_PUBLISH",
|
||||
"oldProjectUsable": true,
|
||||
"recovery": "ROLLBACK_OLD_REVISION"
|
||||
},
|
||||
"hashMismatch": "QUARANTINED",
|
||||
"storage": {
|
||||
"indexeddb": {
|
||||
"afterRecovery": 0,
|
||||
"journalEntriesBefore": 1,
|
||||
"metadataRevision": 7
|
||||
},
|
||||
"opfs": {
|
||||
"afterRecovery": 0,
|
||||
"projectReadable": true,
|
||||
"stagingFilesBefore": 1
|
||||
}
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION",
|
||||
"hashMismatch": "QUARANTINED"
|
||||
},
|
||||
"nextTask": "WBV2-P2-001"
|
||||
}
|
||||
180
tests/golden/WBV2-P1-005/task-context.json
Normal file
180
tests/golden/WBV2-P1-005/task-context.json
Normal file
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1-005",
|
||||
"parentTask": "WBV2-P1-004",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable workflow:harden_opfs_indexeddb_journal_recovery data in Blender desktop and WASM/Main, with save/reopen stability. Change only this gap; do not expand to other data-blocks, editors, or browsers.",
|
||||
"scope": {
|
||||
"gap": "workflow:harden_opfs_indexeddb_journal_recovery",
|
||||
"ownerFamily": "STORAGE",
|
||||
"implementationClass": "LOCAL_BOUNDED"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/WBV2-P1-005.py -- tests/files/web/generated/WBV2-P1-005-workflow-harden_opfs_indexeddb_journal_recovery.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task WBV2-P1-005",
|
||||
"node tools/web/check-generated-gap.mjs --task WBV2-P1-005"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 887,
|
||||
"contextRemainingTokens": 220
|
||||
},
|
||||
"source": {
|
||||
"bytes": 9017,
|
||||
"tokens": 2256
|
||||
},
|
||||
"selected": [],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/WBV2-P1-005-workflow-harden_opfs_indexeddb_journal_recovery.blend",
|
||||
"bytes": 87125,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tools/web/generated/WBV2-P1-005.py",
|
||||
"bytes": 2336,
|
||||
"reason": "CONTEXT_REMAINING_SPACE"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 255189,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"bytes": 877157,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1-005/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P1-005.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1-005/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 0,
|
||||
"bytes": 0,
|
||||
"tokens": 0
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"interrupted commit leaves old project usable",
|
||||
"hash mismatch quarantines payload",
|
||||
"small project recovers after restart"
|
||||
],
|
||||
"nextTask": "WBV2-P2-001",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P1-005.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P1-004/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P1-004.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P1-005.md",
|
||||
"tests/golden/WBV2-P1-004/manifest.json",
|
||||
"docs/status/WBV2-P1-004.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-P1-004",
|
||||
"parentTask": "WBV2-P1-003",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P1-005",
|
||||
"artifactCount": 15
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P1-004 Status",
|
||||
"status: done",
|
||||
"task: WBV2-P1-004",
|
||||
"gate: G1",
|
||||
"updated: 2026-08-25 America/New_York",
|
||||
"The worker lifecycle fixture exposes a bounded cancellation/restart/dispose",
|
||||
"contract through the Blender Text datablock and the WASM SceneIR reader.",
|
||||
"Desktop and WASM agree that cancelled opens publish no result, stale results"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1854,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 464
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2799,
|
||||
"lines": 51,
|
||||
"tokens": 700
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P1-005.md",
|
||||
"bytes": 1854,
|
||||
"lines": 38,
|
||||
"tokens": 464
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1-004/manifest.json",
|
||||
"bytes": 2886,
|
||||
"lines": 36,
|
||||
"tokens": 722
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P1-004.md",
|
||||
"bytes": 1478,
|
||||
"lines": 33,
|
||||
"tokens": 370
|
||||
}
|
||||
],
|
||||
"sourceTokens": 2256,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 2256,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 3280,
|
||||
"serializedContextTokens": 714,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user