366 lines
12 KiB
JSON
366 lines
12 KiB
JSON
{
|
|
"schema": "freecad-web-p6-sandbox-occversiontuple-method-runtime/v1",
|
|
"taskId": "FW-P6-FPA-Y",
|
|
"module": "Sandbox",
|
|
"tier": "tier-2-pure",
|
|
"apiId": "py:Sandbox:function:occversiontuple",
|
|
"status": "pass",
|
|
"source": {
|
|
"entry": "src/Mod/Sandbox/exportDRAWEXE.py",
|
|
"function": "occversiontuple",
|
|
"revision": "2778e3f9c215da48bf0cfd562478d45d624aaa47"
|
|
},
|
|
"route": {
|
|
"command": "sandbox.pythonFamilyBatch",
|
|
"worker": "web/src/sandbox-python.worker.ts",
|
|
"facade": "web/src/sandbox-python-family-facade.ts",
|
|
"apiBridge": "web/src/api-method-bridge.ts",
|
|
"native": "freecad-source/src/WebAssembly/FreeCADCoreProbe/SandboxRuntimeProbe.cpp:fc_web_dispatch_json"
|
|
},
|
|
"request": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "request",
|
|
"requestId": "sandbox-occ-success",
|
|
"command": "sandbox.pythonFamilyBatch",
|
|
"payload": {
|
|
"schema": "freecad-web-sandbox/python-family-batch/v1",
|
|
"module": "Sandbox",
|
|
"tier": "tier-2-pure",
|
|
"records": [
|
|
{
|
|
"apiId": "py:Sandbox:function:occversiontuple",
|
|
"name": "occversiontuple",
|
|
"family": "pure-function",
|
|
"sourcePath": "src/Mod/Sandbox/exportDRAWEXE.py",
|
|
"disposition": "not_implemented",
|
|
"args": {}
|
|
}
|
|
]
|
|
},
|
|
"documentId": "sandbox-python-family"
|
|
},
|
|
"requestSha256": "2c9ebb10b5071647b3e8faab10dbc828a3cb7f8516976ad670660d8016ae4e30",
|
|
"trace": {
|
|
"success": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "result",
|
|
"requestId": "sandbox-occ-success",
|
|
"result": {
|
|
"cmd": "sandbox.pythonFamilyBatch",
|
|
"count": 1,
|
|
"module": "Sandbox",
|
|
"ok": true,
|
|
"records": [
|
|
{
|
|
"apiId": "py:Sandbox:function:occversiontuple",
|
|
"code": "native_python_execution",
|
|
"family": "pure-function",
|
|
"message": "official Sandbox exportDRAWEXE.py:occversiontuple executed by FreeCAD Python",
|
|
"name": "occversiontuple",
|
|
"native": true,
|
|
"parameterSchema": "occversiontuple() -> tuple[int, int, int]",
|
|
"replay": "native-python-source",
|
|
"resourcesReleased": true,
|
|
"result": [
|
|
7,
|
|
6,
|
|
3
|
|
],
|
|
"returnSchema": "tuple[int, int, int]",
|
|
"sourceEntry": "src/Mod/Sandbox/exportDRAWEXE.py",
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"status": "exposed"
|
|
}
|
|
],
|
|
"resourcesReleased": true,
|
|
"schema": "freecad-web-sandbox/python-family-batch/v1",
|
|
"source": "freecad-source",
|
|
"tier": "tier-2-pure"
|
|
}
|
|
},
|
|
"repeat": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "result",
|
|
"requestId": "sandbox-occ-repeat",
|
|
"result": {
|
|
"cmd": "sandbox.pythonFamilyBatch",
|
|
"count": 1,
|
|
"module": "Sandbox",
|
|
"ok": true,
|
|
"records": [
|
|
{
|
|
"apiId": "py:Sandbox:function:occversiontuple",
|
|
"code": "native_python_execution",
|
|
"family": "pure-function",
|
|
"message": "official Sandbox exportDRAWEXE.py:occversiontuple executed by FreeCAD Python",
|
|
"name": "occversiontuple",
|
|
"native": true,
|
|
"parameterSchema": "occversiontuple() -> tuple[int, int, int]",
|
|
"replay": "native-python-source",
|
|
"resourcesReleased": true,
|
|
"result": [
|
|
7,
|
|
6,
|
|
3
|
|
],
|
|
"returnSchema": "tuple[int, int, int]",
|
|
"sourceEntry": "src/Mod/Sandbox/exportDRAWEXE.py",
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"status": "exposed"
|
|
}
|
|
],
|
|
"resourcesReleased": true,
|
|
"schema": "freecad-web-sandbox/python-family-batch/v1",
|
|
"source": "freecad-source",
|
|
"tier": "tier-2-pure"
|
|
}
|
|
},
|
|
"invalid": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "result",
|
|
"requestId": "sandbox-occ-invalid",
|
|
"result": {
|
|
"cmd": "sandbox.pythonFamilyBatch",
|
|
"count": 1,
|
|
"module": "Sandbox",
|
|
"ok": true,
|
|
"records": [
|
|
{
|
|
"apiId": "py:Sandbox:function:occversiontuple",
|
|
"code": "source_error",
|
|
"family": "pure-function",
|
|
"message": "Sandbox.occversiontuple does not accept arguments",
|
|
"name": "occversiontuple",
|
|
"native": true,
|
|
"parameterSchema": "source-declared",
|
|
"resourcesReleased": true,
|
|
"returnSchema": "source-declared",
|
|
"sourceEntry": "src/Mod/Sandbox/App/AppSandbox.cpp",
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"status": "not_implemented"
|
|
}
|
|
],
|
|
"resourcesReleased": true,
|
|
"schema": "freecad-web-sandbox/python-family-batch/v1",
|
|
"source": "freecad-source",
|
|
"tier": "tier-2-pure"
|
|
}
|
|
},
|
|
"cross": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "result",
|
|
"requestId": "sandbox-occ-cross",
|
|
"result": {
|
|
"cmd": "sandbox.pythonFamilyBatch",
|
|
"count": 1,
|
|
"module": "Sandbox",
|
|
"ok": true,
|
|
"records": [
|
|
{
|
|
"apiId": "py:BIM:function:occversiontuple",
|
|
"code": "unmatched_source_record",
|
|
"family": "pure-function",
|
|
"message": "Sandbox API record is not part of this module-scoped adapter",
|
|
"name": "occversiontuple",
|
|
"native": true,
|
|
"parameterSchema": "source-declared",
|
|
"resourcesReleased": true,
|
|
"returnSchema": "source-declared",
|
|
"sourceEntry": "src/Mod/Sandbox/App/AppSandbox.cpp",
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"status": "not_implemented"
|
|
}
|
|
],
|
|
"resourcesReleased": true,
|
|
"schema": "freecad-web-sandbox/python-family-batch/v1",
|
|
"source": "freecad-source",
|
|
"tier": "tier-2-pure"
|
|
}
|
|
},
|
|
"cancelled": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "error",
|
|
"requestId": "sandbox-family-cancel-1",
|
|
"error": {
|
|
"code": "cancelled",
|
|
"message": "request was cancelled before execution"
|
|
}
|
|
},
|
|
"direct": {
|
|
"cmd": "sandbox.pythonFamilyBatch",
|
|
"count": 1,
|
|
"module": "Sandbox",
|
|
"ok": true,
|
|
"records": [
|
|
{
|
|
"apiId": "py:Sandbox:function:occversiontuple",
|
|
"code": "native_python_execution",
|
|
"family": "pure-function",
|
|
"message": "official Sandbox exportDRAWEXE.py:occversiontuple executed by FreeCAD Python",
|
|
"name": "occversiontuple",
|
|
"native": true,
|
|
"parameterSchema": "occversiontuple() -> tuple[int, int, int]",
|
|
"replay": "native-python-source",
|
|
"resourcesReleased": true,
|
|
"result": [
|
|
7,
|
|
6,
|
|
3
|
|
],
|
|
"returnSchema": "tuple[int, int, int]",
|
|
"sourceEntry": "src/Mod/Sandbox/exportDRAWEXE.py",
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"status": "exposed"
|
|
}
|
|
],
|
|
"resourcesReleased": true,
|
|
"schema": "freecad-web-sandbox/python-family-batch/v1",
|
|
"source": "freecad-source",
|
|
"tier": "tier-2-pure"
|
|
},
|
|
"unsupported": {
|
|
"ok": false,
|
|
"code": "unsupported_command",
|
|
"error": "Sandbox native dispatch command is not registered"
|
|
},
|
|
"bridgeSuccess": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "result",
|
|
"requestId": "api-method-1788333779163",
|
|
"result": {
|
|
"cmd": "sandbox.pythonFamilyBatch",
|
|
"count": 1,
|
|
"module": "Sandbox",
|
|
"ok": true,
|
|
"records": [
|
|
{
|
|
"apiId": "py:Sandbox:function:occversiontuple",
|
|
"code": "native_python_execution",
|
|
"family": "pure-function",
|
|
"message": "official Sandbox exportDRAWEXE.py:occversiontuple executed by FreeCAD Python",
|
|
"name": "occversiontuple",
|
|
"native": true,
|
|
"parameterSchema": "occversiontuple() -> tuple[int, int, int]",
|
|
"replay": "native-python-source",
|
|
"resourcesReleased": true,
|
|
"result": [
|
|
7,
|
|
6,
|
|
3
|
|
],
|
|
"returnSchema": "tuple[int, int, int]",
|
|
"sourceEntry": "src/Mod/Sandbox/exportDRAWEXE.py",
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"status": "exposed"
|
|
}
|
|
],
|
|
"resourcesReleased": true,
|
|
"schema": "freecad-web-sandbox/python-family-batch/v1",
|
|
"source": "freecad-source",
|
|
"tier": "tier-2-pure"
|
|
}
|
|
},
|
|
"bridgeInvalid": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "error",
|
|
"requestId": "api-method-1788333779163",
|
|
"error": {
|
|
"code": "invalid_arguments",
|
|
"message": "Sandbox.occversiontuple does not accept arguments",
|
|
"diagnostic": {
|
|
"apiId": "py:Sandbox:function:occversiontuple",
|
|
"args": [
|
|
1
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"worker": {
|
|
"ready": {
|
|
"kind": "ready",
|
|
"action": "sandbox.pythonFamilyBatch"
|
|
},
|
|
"workerSuccess": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "result",
|
|
"requestId": "sandbox-occ-worker",
|
|
"result": {
|
|
"cmd": "sandbox.pythonFamilyBatch",
|
|
"count": 1,
|
|
"module": "Sandbox",
|
|
"ok": true,
|
|
"records": [
|
|
{
|
|
"apiId": "py:Sandbox:function:occversiontuple",
|
|
"code": "native_python_execution",
|
|
"family": "pure-function",
|
|
"message": "official Sandbox exportDRAWEXE.py:occversiontuple executed by FreeCAD Python",
|
|
"name": "occversiontuple",
|
|
"native": true,
|
|
"parameterSchema": "occversiontuple() -> tuple[int, int, int]",
|
|
"replay": "native-python-source",
|
|
"resourcesReleased": true,
|
|
"result": [
|
|
7,
|
|
6,
|
|
3
|
|
],
|
|
"returnSchema": "tuple[int, int, int]",
|
|
"sourceEntry": "src/Mod/Sandbox/exportDRAWEXE.py",
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"status": "exposed"
|
|
}
|
|
],
|
|
"resourcesReleased": true,
|
|
"schema": "freecad-web-sandbox/python-family-batch/v1",
|
|
"source": "freecad-source",
|
|
"tier": "tier-2-pure"
|
|
}
|
|
},
|
|
"workerDuplicate": {
|
|
"schema": "freecad-web-facade/v1",
|
|
"version": 1,
|
|
"kind": "error",
|
|
"requestId": "sandbox-occ-worker",
|
|
"error": {
|
|
"code": "duplicate_request",
|
|
"message": "requestId has already been dispatched"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"traceSha256": "f953a1ce61ebc697d030f584626512b054401cba70bc0f86b7079bce34cdef17",
|
|
"replay": {
|
|
"equal": true,
|
|
"resultSha256": "ca6a63311da24f69f5b3ca6abab576745311df3dc6151d4480ef96902753c422"
|
|
},
|
|
"resources": {
|
|
"resourcesReleased": true,
|
|
"documentMutation": false
|
|
},
|
|
"artifacts": {
|
|
"wasm": {
|
|
"path": "web/public/kernel/FreeCADWebSandboxRuntimeProbe.wasm",
|
|
"sha256": "4f3cffadb4c1e2523856a0f3a8b7ad8b14fa186557e2d9970f915c2e5b493a53"
|
|
},
|
|
"loader": {
|
|
"path": "web/public/kernel/FreeCADWebSandboxRuntimeProbe.js",
|
|
"sha256": "1836feb14589ca90f8f0136323dac3722afef49d772b484b682acda796ecbf00"
|
|
}
|
|
},
|
|
"boundaries": [
|
|
"Unexpected arguments remain source_error from the official function path.",
|
|
"Cross-module IDs remain unmatched_source_record.",
|
|
"All values derive from compiled FreeCAD source through fc_web_dispatch_json; JavaScript only carries the typed envelope."
|
|
]
|
|
}
|