am-freescan/docs/expired-task-auto-release-20261105.json
lixiaolong ba0f749d40 feat: 完善检测任务、夹具轨迹与设备工作流
完善扫描成果与比对资料管理,精简业务菜单和任务工作台,更新批量导入模板。

适配机械臂新协议、坐标系管理及目标位姿组件,增加扫描参数字典和角色自动分配。

修复试运行终止状态与过期扫描任务资源释放,补充回归测试、迁移脚本及接口文档。
2026-11-06 10:50:49 +08:00

70 lines
2.4 KiB
JSON

{
"date": "2026-11-05",
"behavior": "Expired remote scanner tasks no longer leave permanent native workflow occupations. Reconcile task_not_found on exact endpoint only after two explicit healthy idle snapshots, then confirm every assigned robot through existing release path. Retry terminal STOP_PENDING native flows every 15 seconds.",
"commandHistory": "Preserve UNKNOWN or original FAILED result and error; store recovery proof; never replay old command or claim SDK success.",
"guards": [
"only HTTP404 with task_not_found",
"explicit scanning/busy/restartRequired/stateUncertain/calibrationActive false",
"stable state/session/project across reads",
"connected SDK with explicit online feedback or explicitly disconnected SDK",
"matching original command key/taskId/endpoint/owner and compare-and-set journal update",
"no active context, unfinished node thread or assigned robot lock",
"all robots must confirm stop before releasing whole owner"
],
"tests": {
"ScannerExpiredTaskRecoveryTest": {
"tests": 7,
"failures": 0,
"errors": 0,
"skipped": 0
},
"ScannerIntegrationTest": {
"tests": 42,
"failures": 0,
"errors": 0,
"skipped": 0
},
"FlowControlServiceTest": {
"tests": 4,
"failures": 0,
"errors": 0,
"skipped": 0
},
"FlowFailedOccupationTest": {
"tests": 8,
"failures": 0,
"errors": 0,
"skipped": 0
},
"FlowStopOccupationTest": {
"tests": 6,
"failures": 0,
"errors": 0,
"skipped": 0
},
"ScanResourceServiceTest": {
"tests": 16,
"failures": 0,
"errors": 0,
"skipped": 0
}
},
"deployment": "final development package deployed; health and login passed",
"realHardwareVerification": "not performed; tests use local HTTP simulator and H2 resource database",
"frontend": "resource occupations refresh automatically every 15 seconds, skip hidden/inactive pages and duplicate requests",
"testTotal": 83,
"frontendVerification": {
"typecheck": "passed",
"build": "passed",
"ui": "actual resource occupations page confirmed automatic refresh explanation and manual refresh",
"screenshot": ".local/expired-task-auto-release-ui.png"
},
"postflightScanner": {
"state": "restart_required",
"scanning": false,
"busy": false,
"restartRequired": true,
"stateUncertain": true
}
}