mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
ci: stabilize release live QA gates
This commit is contained in:
@@ -96,6 +96,9 @@ steps:
|
||||
- set: wakeMarker
|
||||
value:
|
||||
expr: "`QA-CAPABILITY-${randomUUID().slice(0, 8)}`"
|
||||
- set: wakeStartIndex
|
||||
value:
|
||||
expr: "state.getSnapshot().messages.length"
|
||||
- call: patchConfig
|
||||
args:
|
||||
- env:
|
||||
@@ -111,6 +114,9 @@ steps:
|
||||
ref: originalImageGenerationModelPrimary
|
||||
sessionKey:
|
||||
ref: sessionKey
|
||||
deliveryContext:
|
||||
channel: qa-channel
|
||||
to: dm:qa-operator
|
||||
note:
|
||||
ref: wakeMarker
|
||||
- call: waitForGatewayHealthy
|
||||
@@ -121,6 +127,16 @@ steps:
|
||||
args:
|
||||
- ref: env
|
||||
- 60000
|
||||
- call: waitForOutboundMessage
|
||||
saveAs: wakeReply
|
||||
args:
|
||||
- ref: state
|
||||
- lambda:
|
||||
params: [candidate]
|
||||
expr: "candidate.direction === 'outbound' && candidate.conversation.id === 'qa-operator' && String(candidate.text ?? '').includes(wakeMarker)"
|
||||
- expr: liveTurnTimeoutMs(env, 60000)
|
||||
- sinceIndex:
|
||||
ref: wakeStartIndex
|
||||
- call: waitForCondition
|
||||
saveAs: afterTools
|
||||
args:
|
||||
|
||||
Reference in New Issue
Block a user