Add scanner API integration, workflow components, execution-bound live images and 3D model viewing. Harden task control, parameters, resource protection and reports, with automated regressions and detailed verification records.
247 lines
8.8 KiB
JSON
247 lines
8.8 KiB
JSON
{
|
||
"date": "2026-10-22",
|
||
"environment": "本机 dev;localhost 模拟扫描服务;真实开发数据库 am-freescan 和 Redis 库15",
|
||
"passed": true,
|
||
"changes": [
|
||
"三维文件解析、坐标校验和边界计算移到可取消的独立 Worker;TypedArray 转移避免复制;切换文件或离开页面终止旧解析。",
|
||
"三维查看按交互、尺寸和模型变化请求绘制,静止、不可见和离开页面时停止持续渲染;卸载释放图形资源。",
|
||
"修复资产对象更新但文件编号不变时重复解析模型;相同模型刷新列表不再重载。",
|
||
"修复执行对象更新但状态不变时反复强制全量读取日志;冻结绑定按执行缓存。",
|
||
"原生日志接口保留旧用法,并增加可选 afterId 游标;客户端从最早未完成节点增量读取、合并日志,终态切换或手工刷新重新核对全量记录。",
|
||
"任务准备参数仅在修订或开始状态变化时重建;任务结束及页面失活后停止无效轮询。",
|
||
"MJPEG 按 Content-Length 每帧只分配一次缓冲区,避免每个网络块复制全部已收数据;取消挂起读取,限制帧头和帧大小并检查截断。",
|
||
"在线三维文件下载按实际接收字节限制100MiB;大点云最多显示50万点并明确提示,原始文件保留;超大网格和异常声明拒绝在线解析。",
|
||
"明确区分流程暂停与设备采集停止:设备仍采集时显示警告,不将流程状态当作物理停止证明。"
|
||
],
|
||
"measurements": {
|
||
"pointCloudNodeBenchmark": {
|
||
"environment": "Node worker threads; binary PLY with RGB; not a browser FPS benchmark",
|
||
"samples": [
|
||
{
|
||
"points": 100000,
|
||
"bytes": 1500180,
|
||
"synchronous": {
|
||
"elapsedMs": 25.975399999999993,
|
||
"maxEventLoopGapMs": 26.216500000000003,
|
||
"heartbeatTicks": 4,
|
||
"displayedPoints": 100000
|
||
},
|
||
"hydrateMs": 0.21440000000001191,
|
||
"workerParseMs": 28.095399999999984,
|
||
"worker": {
|
||
"elapsedMs": 67.3124,
|
||
"maxEventLoopGapMs": 17.638500000000008,
|
||
"heartbeatTicks": 8,
|
||
"displayedPoints": 100000
|
||
}
|
||
},
|
||
{
|
||
"points": 1000000,
|
||
"bytes": 15000181,
|
||
"synchronous": {
|
||
"elapsedMs": 178.3601,
|
||
"maxEventLoopGapMs": 178.46599999999995,
|
||
"heartbeatTicks": 3,
|
||
"displayedPoints": 1000000
|
||
},
|
||
"hydrateMs": 0.1331000000000131,
|
||
"workerParseMs": 215.16340000000002,
|
||
"worker": {
|
||
"elapsedMs": 252.47100000000006,
|
||
"maxEventLoopGapMs": 18.47210000000001,
|
||
"heartbeatTicks": 19,
|
||
"displayedPoints": 500000
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"mjpegAssembly": {
|
||
"environment": "Node stream assembly; not browser FPS",
|
||
"before": {
|
||
"bytes": 2097152,
|
||
"chunkBytes": 2048,
|
||
"chunks": 1025,
|
||
"frames": 1,
|
||
"elapsedMs": 137.6031
|
||
},
|
||
"after": {
|
||
"bytes": 2097152,
|
||
"chunkBytes": 2048,
|
||
"chunks": 1025,
|
||
"frames": 1,
|
||
"elapsedMs": 3.2882999999999996
|
||
}
|
||
},
|
||
"browser": {
|
||
"prefix": "E2E-SCANNER-1022221115-0d6a",
|
||
"points": 1000000,
|
||
"displayedPoints": 500000,
|
||
"previewImage": {
|
||
"width": 1920,
|
||
"height": 1080,
|
||
"verified": true,
|
||
"verifiedInAttempt": "E2E-SCANNER-1022215306-f5f3"
|
||
},
|
||
"before": [
|
||
{
|
||
"hydrateMs": "0.19999998807907104",
|
||
"parseMs": "114.19999998807907",
|
||
"renders": "4"
|
||
}
|
||
],
|
||
"afterThreeRefreshes": [
|
||
{
|
||
"hydrateMs": "0.19999998807907104",
|
||
"parseMs": "114.19999998807907",
|
||
"renders": "4"
|
||
}
|
||
],
|
||
"afterIdle": [
|
||
{
|
||
"hydrateMs": "0.19999998807907104",
|
||
"parseMs": "114.19999998807907",
|
||
"renders": "4"
|
||
}
|
||
],
|
||
"stableAcrossRefreshAndIdle": true
|
||
},
|
||
"imageConcurrency": {
|
||
"concurrentReaders": 8,
|
||
"requests": 16,
|
||
"bytes": 1286139,
|
||
"p50Ms": 218.07,
|
||
"p95Ms": 243.85,
|
||
"maxMs": 244.45,
|
||
"hardwareRequests": 0
|
||
}
|
||
},
|
||
"workflow": {
|
||
"prefix": "E2E-SCANNER-1022221115-0d6a",
|
||
"passed": true,
|
||
"checks": [
|
||
{
|
||
"name": "缺少扫描节点超时参数:预检和开始均阻止,未发送设备操作",
|
||
"passed": true
|
||
},
|
||
{
|
||
"name": "真实业务开始幂等、实时画面与本件绑定、点云快照重复点击仅下发一次",
|
||
"passed": true
|
||
},
|
||
{
|
||
"name": "暂停停止采集并保留占用、恢复同一工程、首件完成保留任务资源与成果",
|
||
"passed": true
|
||
},
|
||
{
|
||
"name": "第二件独立工程,跨件图像和文件访问阻止,全部完成后释放资源",
|
||
"passed": true
|
||
},
|
||
{
|
||
"name": "设备任务HTTP成功但SDK失败时整件失败,人工重试建立新执行并成功",
|
||
"passed": true
|
||
},
|
||
{
|
||
"name": "取消时停止未确认保留资源,状态恢复并确认停止后释放",
|
||
"passed": true
|
||
}
|
||
],
|
||
"supplierPosts": 45,
|
||
"completedExecutionLogs": [
|
||
{
|
||
"executionId": "2113272190166048770",
|
||
"nodes": 14,
|
||
"incrementalNodes": 7,
|
||
"allTerminal": true
|
||
},
|
||
{
|
||
"executionId": "2113272916728553474",
|
||
"nodes": 14,
|
||
"incrementalNodes": 7,
|
||
"allTerminal": true
|
||
}
|
||
]
|
||
},
|
||
"regression": {
|
||
"backend": {
|
||
"classes": 161,
|
||
"total": 1065,
|
||
"passed": 1047,
|
||
"skipped": 18,
|
||
"failures": 0,
|
||
"errors": 0
|
||
},
|
||
"frontend": {
|
||
"passed": 56,
|
||
"typecheck": "passed",
|
||
"devBuild": "passed",
|
||
"buildNote": "保留原有大包提示"
|
||
},
|
||
"python": {
|
||
"passed": 42
|
||
},
|
||
"scannerRoutes": {
|
||
"registeredAndUnconfiguredPaths": 37,
|
||
"parameterChecks": 5,
|
||
"executionViewChecks": 7,
|
||
"anonymousDenied": true
|
||
},
|
||
"evidence": [
|
||
".local/logs/scanner-performance-backend-tests.log",
|
||
".local/logs/scanner-performance-frontend-tests.log",
|
||
".local/logs/scanner-performance-python-tests.log",
|
||
".local/logs/scanner-performance-workflow-final.log",
|
||
".local/logs/scanner-performance-final-audit.log"
|
||
]
|
||
},
|
||
"diagnostic": {
|
||
"firstAttempt": "人为保持扫描服务 busy 的页面等待结束时,与流程控制 POST 及暂停发生竞态,命令进入 INTENT;系统按预期保留占用并阻止自动重发。",
|
||
"adjustment": "将页面性能检查移到首件成功、等待下一件的稳定阶段;最终全流程两轮通过。未放宽生产停止保护。",
|
||
"fixtureRecovery": "首轮已关闭的 localhost 模拟批次,经完整前缀、归属、回环端口关闭、执行终态及命令端点哈希检查后清理。该工具仅用于测试数据,不是生产设备命令恢复。",
|
||
"evidence": [
|
||
".local/logs/scanner-performance-first-attempt.log",
|
||
".local/scanner-performance-failure-1022215306-f5f3.json",
|
||
".local/closed-fixture-cleanup-E2E-SCANNER-1022215306-f5f3.json"
|
||
]
|
||
},
|
||
"cleanup": {
|
||
"remaining": {
|
||
"E2E-SCANNER-1022215306-f5f3": {},
|
||
"E2E-SCANNER-1022220258-4020": {},
|
||
"E2E-SCANNER-1022220549-6068": {},
|
||
"E2E-SCANNER-1022221115-0d6a": {}
|
||
},
|
||
"temporaryResources": {
|
||
"iot_robot": 0,
|
||
"iot_device": 0,
|
||
"lab_runtime_device_link": 0
|
||
},
|
||
"activeOccupations": 0,
|
||
"activeScannerCommands": 0,
|
||
"preservedDemoTasks": [
|
||
{
|
||
"task_no": "T-20261022-0005",
|
||
"status": "COMPLETED"
|
||
},
|
||
{
|
||
"task_no": "T-20261022-0006",
|
||
"status": "COMPLETED"
|
||
}
|
||
],
|
||
"permanentRobot": 1,
|
||
"permanentDevice": 1,
|
||
"frontendHttpStatus": 200,
|
||
"passed": true
|
||
},
|
||
"services": {
|
||
"frontend": "http://localhost:5180",
|
||
"backend": "http://localhost:48090",
|
||
"scannerConfiguration": "已恢复正常 dev 配置;真实扫描服务地址、端口和密钥待配置"
|
||
},
|
||
"screenshot": "docs/images/scanner-performance-million-points-20261022.png",
|
||
"limits": [
|
||
"以上为本机合成点云、JPEG 与模拟扫描服务的测量,不代表真实扫描固件速度或浏览器 GPU 帧率;未进行长期热稳态压测。",
|
||
"独立线程主要减少界面冻结,并不缩短所有文件的解析总耗时;百万点的后台校验和预览抽样包含额外工作。",
|
||
"在线点云预览上限50万点、文件上限100MiB、网格顶点上限300万;不更改厂商原始成果。",
|
||
"37个接口已完成注册、方法路径和未配置边界检查;扫描主流程使用模拟服务,厂商全部操作仍需真实设备逐项验收。",
|
||
"真实扫描仪尚未配置;真机画质、网络、GPU及物理停止效果需接入后继续实测。"
|
||
]
|
||
} |