test: stabilize qa lab scenarios

This commit is contained in:
Peter Steinberger
2026-04-24 19:23:27 +01:00
parent 6bc0dc8fb6
commit e54c04f495
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -64,6 +64,7 @@ steps:
wakeMode: now
payload:
kind: agentTurn
timeoutSeconds: 90
message:
expr: "config.reminderPromptTemplate.replace('{{marker}}', cronMarker)"
delivery: