fix: CaseRun blocker visibility in status + cloud-api hwpod_node_not_connected error

This commit is contained in:
Codex Agent
2026-06-07 12:45:32 +08:00
parent 760df7938c
commit 892c9af366
2 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -754,7 +754,7 @@ async function forwardHwpodNodeOpsPlan(targetUrl, plan, requestMeta, options) {
});
}
if (target.ok && target.nodeId && target.nodeId !== plan.nodeId) {
return directHwpodNodeBlocked(plan, "hwpod_node_id_mismatch", `configured hwpod-node URL is ${target.nodeId}, but plan targets ${plan.nodeId}`, {
return directHwpodNodeBlocked(plan, "hwpod_node_not_connected", `${plan.nodeId} is not connected via WebSocket and HWLAB_HWPOD_NODE_OPS_URL points to ${target.nodeId}`, {
requestedNodeId: plan.nodeId,
targetNodeId: target.nodeId,
targetUrl: redactNodeOpsUrl(targetUrl),