132 lines
4.2 KiB
JSON
132 lines
4.2 KiB
JSON
|
|
{
|
|||
|
|
"date": "2026-10-26",
|
|||
|
|
"fixed": true,
|
|||
|
|
"deployed": true,
|
|||
|
|
"rootCause": "原终止流程收到设备停止确认后,注销上下文仍仅按任务是否SUCCESS决定释放;STOPPED被无条件转为STOP_PENDING,导致停采后仍占用。",
|
|||
|
|
"changes": [
|
|||
|
|
"区分任务终止与设备停止确认;只有所有设备已确认停止、旧节点已退出、会话清理成功才释放",
|
|||
|
|
"停止失败或超时返回明确提示并保留待确认占用",
|
|||
|
|
"数据库释放失败保留上下文和锁,重试仅重试释放,不重复发停止命令",
|
|||
|
|
"暂停继续持有资源;恢复复用原工程命令,终止后释放"
|
|||
|
|
],
|
|||
|
|
"recovery": [
|
|||
|
|
{
|
|||
|
|
"instanceId": "f8f4fb2b3037f898725c912eae5d5ade",
|
|||
|
|
"ownerKey": "NATIVE:f8f4fb2b3037f898725c912eae5d5ade",
|
|||
|
|
"previousLeases": [
|
|||
|
|
{
|
|||
|
|
"owner_key": "NATIVE:f8f4fb2b3037f898725c912eae5d5ade",
|
|||
|
|
"resource_type": "DEVICE",
|
|||
|
|
"resource_id": "2113454405093126144",
|
|||
|
|
"status": "STOP_PENDING"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"owner_key": "NATIVE:f8f4fb2b3037f898725c912eae5d5ade",
|
|||
|
|
"resource_type": "ROBOT",
|
|||
|
|
"resource_id": "am-freescan-station-001",
|
|||
|
|
"status": "STOP_PENDING"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"remaining": [],
|
|||
|
|
"trialHistoryRetained": true,
|
|||
|
|
"usedSystemStopConfirmation": true
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"instanceId": "0f7141e6f04212eb20af0617538104b2",
|
|||
|
|
"previousLeases": [
|
|||
|
|
{
|
|||
|
|
"owner_key": "NATIVE:0f7141e6f04212eb20af0617538104b2",
|
|||
|
|
"resource_type": "DEVICE",
|
|||
|
|
"status": "STOP_PENDING"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"owner_key": "NATIVE:0f7141e6f04212eb20af0617538104b2",
|
|||
|
|
"resource_type": "ROBOT",
|
|||
|
|
"status": "STOP_PENDING"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"released": true,
|
|||
|
|
"historyRetained": true
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"tests": {
|
|||
|
|
"backend": {
|
|||
|
|
"tests": 1127,
|
|||
|
|
"failures": 0,
|
|||
|
|
"errors": 0,
|
|||
|
|
"skipped": 18
|
|||
|
|
},
|
|||
|
|
"backendPassed": 1109,
|
|||
|
|
"newBackendCases": 8,
|
|||
|
|
"pythonPassed": 53,
|
|||
|
|
"apiRegression": [
|
|||
|
|
{
|
|||
|
|
"name": "用例试运行中终止:确认停采后自动释放工位和设备占用,重复终止不重新占用",
|
|||
|
|
"passed": true
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "SDK停止失败:终止返回明确错误,保留STOP_PENDING占用,禁止再次试运行发送设备操作",
|
|||
|
|
"passed": true
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "停止失败后通过系统确认停止,成功停稳后仅释放原试运行占用",
|
|||
|
|
"passed": true
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "释放后可再次试运行,终止再次完成停采及释放",
|
|||
|
|
"passed": true
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "新建工程途中暂停保留占用;恢复复用原工程不重复创建;再终止确认停采并释放",
|
|||
|
|
"passed": true
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "新建工程途中暂停后直接终止:释放占用,不继续执行后续采集节点",
|
|||
|
|
"passed": true
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"physicalScannerControlRequestsDuringRegression": 0
|
|||
|
|
},
|
|||
|
|
"postconditions": {
|
|||
|
|
"remainingOccupations": [],
|
|||
|
|
"trialHistoryRetained": [
|
|||
|
|
{
|
|||
|
|
"id": "0f7141e6f04212eb20af0617538104b2",
|
|||
|
|
"status": "4"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"id": "f8f4fb2b3037f898725c912eae5d5ade",
|
|||
|
|
"status": "4"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"realConfigurationRestored": true,
|
|||
|
|
"scanner": {
|
|||
|
|
"scanning": false,
|
|||
|
|
"busy": false,
|
|||
|
|
"stateUncertain": false,
|
|||
|
|
"restartRequired": false
|
|||
|
|
},
|
|||
|
|
"scopedCleanup": {
|
|||
|
|
"prefixes": [
|
|||
|
|
"E2E-TRIAL-1026101613-970e",
|
|||
|
|
"E2E-TRIAL-1026101924-3c2b"
|
|||
|
|
],
|
|||
|
|
"remaining": {},
|
|||
|
|
"runtimeResourcesRemaining": 0
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"files": [
|
|||
|
|
"am-backend/yudao-module-cmvr/src/main/java/com/cmvr/test/flow/control/FlowControlService.java",
|
|||
|
|
"am-backend/yudao-module-cmvr/src/main/java/com/cmvr/test/flow/context/TaskContext.java",
|
|||
|
|
"am-backend/yudao-module-cmvr/src/main/java/com/cmvr/test/flow/context/TaskContextManager.java",
|
|||
|
|
"am-backend/yudao-module-cmvr/src/test/java/com/cmvr/test/flow/control/FlowStopOccupationTest.java",
|
|||
|
|
"scripts/verify_scanner_trial_stop.py"
|
|||
|
|
],
|
|||
|
|
"limits": [
|
|||
|
|
"真实扫描仪未自动启动;新增场景通过localhost模拟SDK验证",
|
|||
|
|
"18项既有外部服务测试仍处于禁用状态"
|
|||
|
|
],
|
|||
|
|
"committed": false,
|
|||
|
|
"pushed": false
|
|||
|
|
}
|