250 lines
7.1 KiB
JSON
250 lines
7.1 KiB
JSON
{
|
|
"schema": "freecad-web-p6-inspection-action-02-facade/v1",
|
|
"taskId": "FW-P6-INS-ACT-02-E",
|
|
"module": "Inspection",
|
|
"action": "inspection.inspectSourceInventory",
|
|
"result": "pass",
|
|
"envelopeSchema": "freecad-web-facade/v1",
|
|
"typedSchema": "freecad-web-inspection/inspect-source-inventory/v1",
|
|
"fixture": {
|
|
"schema": "freecad-web-inspection/inspect-source-inventory/v1",
|
|
"module": "Inspection",
|
|
"action": "inspect/source-inventory",
|
|
"sourceRevision": "4f4e9244e613ea2df06e70027074a562695048cb",
|
|
"entry": "src/Mod/Inspection/App/AppInspection.cpp",
|
|
"inputSha256": "ad3f1a18f095da3b2ec53018ce503c57cc87e2855bed03c62e469aacaec411a2"
|
|
},
|
|
"responses": {
|
|
"success": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "result",
|
|
"requestId": "inspection-action-02-success",
|
|
"result": {
|
|
"schema": "freecad-web-inspection/inspect-source-inventory/v1",
|
|
"module": "Inspection",
|
|
"action": "inspect/source-inventory",
|
|
"sourceRevision": "4f4e9244e613ea2df06e70027074a562695048cb",
|
|
"currentSourceRevision": "4f4e9244e613ea2df06e70027074a562695048cb",
|
|
"sourceEntry": "src/Mod/Inspection/App/AppInspection.cpp",
|
|
"registeredTypes": [
|
|
"Inspection::PropertyDistanceList",
|
|
"Inspection::Feature",
|
|
"Inspection::Group"
|
|
],
|
|
"actualTypes": [
|
|
"Mesh::Feature",
|
|
"Points::Feature",
|
|
"Part::Feature"
|
|
],
|
|
"nominalTypes": [
|
|
"Mesh::Feature",
|
|
"Points::Feature",
|
|
"Part::Feature"
|
|
],
|
|
"resultProperty": "Inspection::PropertyDistanceList",
|
|
"dependencies": [
|
|
"FreeCADApp",
|
|
"Mesh",
|
|
"Points",
|
|
"Part"
|
|
],
|
|
"guiExcluded": [
|
|
"InspectionGui",
|
|
"FreeCADGui",
|
|
"PySide",
|
|
"pivy.coin"
|
|
],
|
|
"readOnly": true,
|
|
"stateSha256": "inspection-source-boundary-v1"
|
|
}
|
|
},
|
|
"expectedError": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "error",
|
|
"requestId": "inspection-action-02-error",
|
|
"error": {
|
|
"code": "revision_mismatch",
|
|
"message": "Inspection source revision is not locked",
|
|
"diagnostic": {
|
|
"sourceRevision": "wrong-revision"
|
|
}
|
|
}
|
|
},
|
|
"duplicate": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "error",
|
|
"requestId": "inspection-action-02-success",
|
|
"error": {
|
|
"code": "duplicate_request",
|
|
"message": "requestId has already been dispatched"
|
|
}
|
|
},
|
|
"cancelled": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "error",
|
|
"requestId": "inspection-action-02-cancel",
|
|
"error": {
|
|
"code": "cancelled",
|
|
"message": "request was cancelled before execution"
|
|
}
|
|
},
|
|
"afterCancel": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "result",
|
|
"requestId": "inspection-action-02-after-cancel",
|
|
"result": {
|
|
"schema": "freecad-web-inspection/inspect-source-inventory/v1",
|
|
"module": "Inspection",
|
|
"action": "inspect/source-inventory",
|
|
"sourceRevision": "4f4e9244e613ea2df06e70027074a562695048cb",
|
|
"currentSourceRevision": "4f4e9244e613ea2df06e70027074a562695048cb",
|
|
"sourceEntry": "src/Mod/Inspection/App/AppInspection.cpp",
|
|
"registeredTypes": [
|
|
"Inspection::PropertyDistanceList",
|
|
"Inspection::Feature",
|
|
"Inspection::Group"
|
|
],
|
|
"actualTypes": [
|
|
"Mesh::Feature",
|
|
"Points::Feature",
|
|
"Part::Feature"
|
|
],
|
|
"nominalTypes": [
|
|
"Mesh::Feature",
|
|
"Points::Feature",
|
|
"Part::Feature"
|
|
],
|
|
"resultProperty": "Inspection::PropertyDistanceList",
|
|
"dependencies": [
|
|
"FreeCADApp",
|
|
"Mesh",
|
|
"Points",
|
|
"Part"
|
|
],
|
|
"guiExcluded": [
|
|
"InspectionGui",
|
|
"FreeCADGui",
|
|
"PySide",
|
|
"pivy.coin"
|
|
],
|
|
"readOnly": true,
|
|
"stateSha256": "inspection-source-boundary-v1"
|
|
}
|
|
}
|
|
},
|
|
"trace": [
|
|
{
|
|
"direction": "request",
|
|
"requestId": "inspection-action-02-success",
|
|
"command": "inspection.inspectSourceInventory"
|
|
},
|
|
{
|
|
"direction": "handler-start",
|
|
"requestId": "inspection-action-02-success"
|
|
},
|
|
{
|
|
"direction": "handler-end",
|
|
"requestId": "inspection-action-02-success"
|
|
},
|
|
{
|
|
"direction": "response",
|
|
"requestId": "inspection-action-02-success",
|
|
"kind": "result",
|
|
"code": null
|
|
},
|
|
{
|
|
"direction": "request",
|
|
"requestId": "inspection-action-02-error",
|
|
"command": "inspection.inspectSourceInventory"
|
|
},
|
|
{
|
|
"direction": "handler-start",
|
|
"requestId": "inspection-action-02-error"
|
|
},
|
|
{
|
|
"direction": "handler-end",
|
|
"requestId": "inspection-action-02-error"
|
|
},
|
|
{
|
|
"direction": "response",
|
|
"requestId": "inspection-action-02-error",
|
|
"kind": "error",
|
|
"code": "revision_mismatch"
|
|
},
|
|
{
|
|
"direction": "request",
|
|
"requestId": "inspection-action-02-success",
|
|
"command": "inspection.inspectSourceInventory"
|
|
},
|
|
{
|
|
"direction": "response",
|
|
"requestId": "inspection-action-02-success",
|
|
"kind": "error",
|
|
"code": "duplicate_request"
|
|
},
|
|
{
|
|
"direction": "request",
|
|
"requestId": "inspection-action-02-cancel",
|
|
"command": "inspection.inspectSourceInventory"
|
|
},
|
|
{
|
|
"direction": "response",
|
|
"requestId": "inspection-action-02-cancel",
|
|
"kind": "error",
|
|
"code": "cancelled"
|
|
},
|
|
{
|
|
"direction": "request",
|
|
"requestId": "inspection-action-02-after-cancel",
|
|
"command": "inspection.inspectSourceInventory"
|
|
},
|
|
{
|
|
"direction": "handler-start",
|
|
"requestId": "inspection-action-02-after-cancel"
|
|
},
|
|
{
|
|
"direction": "handler-end",
|
|
"requestId": "inspection-action-02-after-cancel"
|
|
},
|
|
{
|
|
"direction": "response",
|
|
"requestId": "inspection-action-02-after-cancel",
|
|
"kind": "result",
|
|
"code": null
|
|
}
|
|
],
|
|
"sequencing": {
|
|
"maxActive": 1,
|
|
"activeAfter": 0,
|
|
"requestCount": 5,
|
|
"responseCount": 5,
|
|
"cancelAccepted": true
|
|
},
|
|
"state": {
|
|
"beforeCancel": "inspection-source-boundary-v1",
|
|
"afterCancel": "inspection-source-boundary-v1",
|
|
"unchangedAfterCancel": true
|
|
},
|
|
"schemaChecks": {
|
|
"request": true,
|
|
"result": true,
|
|
"expectedError": true,
|
|
"duplicate": true,
|
|
"cancel": true,
|
|
"noNativePointers": true
|
|
},
|
|
"artifacts": {
|
|
"schema": "docs/p6/inspection-action-02-facade.schema.json",
|
|
"workerLog": "docs/freecad-p6-inspection-action-02-e-facade.log"
|
|
},
|
|
"commands": [
|
|
"npx tsc --target ES2022 --module ESNext --moduleResolution Bundler --strict --skipLibCheck --outDir <tmp> --declaration false --noEmit false src/facade-envelope.ts src/inspection-inspect-facade.ts",
|
|
"node tools/run_p6_inspection_action02_facade_smoke.mjs <tmp>/inspection-inspect-facade.js"
|
|
]
|
|
}
|