From c7d4e9e1c20403d005335e09c0e019a8520f5565 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 24 May 2026 13:38:12 +0100 Subject: [PATCH] test(qa): widen capability flip restart budget --- .../config/config-restart-capability-flip.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/qa/scenarios/config/config-restart-capability-flip.md b/qa/scenarios/config/config-restart-capability-flip.md index 72b0f450fc4..35ac71f86f5 100644 --- a/qa/scenarios/config/config-restart-capability-flip.md +++ b/qa/scenarios/config/config-restart-capability-flip.md @@ -31,6 +31,9 @@ execution: imagePrompt: "Capability flip image check: generate a QA lighthouse image in this turn right now. Do not acknowledge first, do not promise future work, and do not stop before using image_generate. Final reply must include the MEDIA path." imagePromptSnippet: "Capability flip image check" deniedTool: image_generate + setupTurnTimeoutMs: 60000 + imageTurnTimeoutMs: 75000 + mediaPathTimeoutMs: 30000 ``` ```yaml qa-flow @@ -94,14 +97,14 @@ steps: message: expr: config.setupPrompt timeoutMs: - expr: liveTurnTimeoutMs(env, 30000) + expr: liveTurnTimeoutMs(env, config.setupTurnTimeoutMs) - call: waitForOutboundMessage args: - ref: state - lambda: params: [candidate] expr: "candidate.conversation.id === 'qa-operator' && String(candidate.text ?? '').includes('Protocol note')" - - expr: liveTurnTimeoutMs(env, 30000) + - expr: liveTurnTimeoutMs(env, config.setupTurnTimeoutMs) - sinceIndex: ref: setupStartIndex - call: readEffectiveTools @@ -147,7 +150,7 @@ steps: - lambda: async: true expr: "(() => readEffectiveTools(env, sessionKey).then((tools) => (tools.has('image_generate') ? tools : undefined)))()" - - expr: liveTurnTimeoutMs(env, 45000) + - expr: liveTurnTimeoutMs(env, config.imageTurnTimeoutMs) - 500 - set: imageStartedAtMs value: @@ -164,7 +167,7 @@ steps: message: expr: config.imagePrompt timeoutMs: - expr: liveTurnTimeoutMs(env, 45000) + expr: liveTurnTimeoutMs(env, config.imageTurnTimeoutMs) - try: actions: - call: resolveGeneratedImagePath @@ -177,7 +180,7 @@ steps: startedAtMs: ref: imageStartedAtMs timeoutMs: - expr: liveTurnTimeoutMs(env, 15000) + expr: liveTurnTimeoutMs(env, config.mediaPathTimeoutMs) catch: - set: mediaPath value: "" @@ -191,7 +194,7 @@ steps: - lambda: params: [candidate] expr: "candidate.conversation.id === 'qa-operator' && (String(candidate.text ?? '').includes('MEDIA:') || /media failed|image generation failed/i.test(String(candidate.text ?? '')))" - - expr: liveTurnTimeoutMs(env, 45000) + - expr: liveTurnTimeoutMs(env, config.imageTurnTimeoutMs) - set: imageReplyText value: expr: "String(imageReply.text ?? '')"