From e54c04f495c1f2e9fe05fbedb21e8a77797dc751 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 24 Apr 2026 19:23:27 +0100 Subject: [PATCH] test: stabilize qa lab scenarios --- qa/scenarios/memory/memory-dreaming-sweep.md | 2 +- qa/scenarios/scheduling/cron-natural-fire-no-duplicate.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/scenarios/memory/memory-dreaming-sweep.md b/qa/scenarios/memory/memory-dreaming-sweep.md index a54d405ace7..69b6c281768 100644 --- a/qa/scenarios/memory/memory-dreaming-sweep.md +++ b/qa/scenarios/memory/memory-dreaming-sweep.md @@ -96,7 +96,7 @@ steps: - ref: env - set: managed value: - expr: "jobs.find((job) => job.name === 'Memory Dreaming Promotion' && job.payload?.kind === 'systemEvent' && job.payload.text === '__openclaw_memory_core_short_term_promotion_dream__')" + expr: "jobs.find((job) => job.description?.includes('[managed-by=memory-core.short-term-promotion]') || (job.name === 'Memory Dreaming Promotion' && ((job.payload?.kind === 'systemEvent' && job.payload.text === '__openclaw_memory_core_short_term_promotion_dream__') || (job.payload?.kind === 'agentTurn' && job.payload.message === '__openclaw_memory_core_short_term_promotion_dream__' && job.sessionTarget === 'isolated' && job.payload.lightContext === true && job.delivery?.mode === 'none'))))" - assert: expr: "Boolean(managed?.id)" message: managed dreaming cron job missing after enablement diff --git a/qa/scenarios/scheduling/cron-natural-fire-no-duplicate.md b/qa/scenarios/scheduling/cron-natural-fire-no-duplicate.md index 41cbc69a4d0..76c9e6ae5f2 100644 --- a/qa/scenarios/scheduling/cron-natural-fire-no-duplicate.md +++ b/qa/scenarios/scheduling/cron-natural-fire-no-duplicate.md @@ -64,6 +64,7 @@ steps: wakeMode: now payload: kind: agentTurn + timeoutSeconds: 90 message: expr: "config.reminderPromptTemplate.replace('{{marker}}', cronMarker)" delivery: