mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:31:00 +00:00
fix: stabilize memory dreaming QA
This commit is contained in:
@@ -249,7 +249,7 @@ steps:
|
||||
afterTs:
|
||||
ref: cronRunStartedAt
|
||||
timeoutMs:
|
||||
expr: liveTurnTimeoutMs(env, 90000)
|
||||
expr: liveTurnTimeoutMs(env, 180000)
|
||||
- assert:
|
||||
expr: "finishedRun.status === 'ok'"
|
||||
message:
|
||||
@@ -260,7 +260,7 @@ steps:
|
||||
- lambda:
|
||||
async: true
|
||||
expr: "(async () => { const status = await readDoctorMemoryStatus(env); const lightReport = await fs.readFile(lightReportPath, 'utf8').catch(() => ''); const remReport = await fs.readFile(remReportPath, 'utf8').catch(() => ''); const promotedMemory = await fs.readFile(memoryPath, 'utf8').catch(() => ''); if (!lightReport.includes('# Light Sleep')) return undefined; if (!remReport.includes('# REM Sleep')) return undefined; if (!promotedMemory.includes(config.expectedNeedle)) return undefined; if (status.dreaming?.phases?.deep?.managedCronPresent !== true) return undefined; if ((status.dreaming?.promotedTotal ?? 0) < 1) return undefined; return { status, lightReport, remReport, promotedMemory }; })()"
|
||||
- expr: liveTurnTimeoutMs(env, 90000)
|
||||
- expr: liveTurnTimeoutMs(env, 180000)
|
||||
- 1000
|
||||
finally:
|
||||
- call: patchConfig
|
||||
|
||||
Reference in New Issue
Block a user