test: complete phase4 cross-region handoff
This commit is contained in:
@@ -128,7 +128,7 @@ function markerOwnedContext() {
|
||||
}]
|
||||
const histories = [{
|
||||
id: String(nextId++), action: 'AUTO_CREATE', fromVersion: null, toVersion: 0,
|
||||
reason: '国内确认出仓自动创建', operatorId: CUSTOMER_ID, operatorName: 'fixture',
|
||||
reason: '国内确认出仓自动创建', operatorId: '1000001', operatorName: 'fixture',
|
||||
createdAt: '2026-08-24T08:00:01',
|
||||
}]
|
||||
const detail = () => ({ query: { query: clone(task), expired: true },
|
||||
@@ -178,7 +178,7 @@ function markerOwnedContext() {
|
||||
} else task.status = 'READY'
|
||||
}
|
||||
histories.push({ id: String(nextId++), action: 'MANUAL_NODE', fromVersion: task.version - 1,
|
||||
toVersion: task.version, reason: body.reason, operatorId: CUSTOMER_ID, operatorName: 'fixture',
|
||||
toVersion: task.version, reason: body.reason, operatorId: '1000001', operatorName: 'fixture',
|
||||
createdAt: body.observedAt })
|
||||
const saved = detail(); idempotency.set(key, { signature, detail: clone(saved) })
|
||||
return ok(saved, `req-${key}`)
|
||||
|
||||
Reference in New Issue
Block a user