-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
memory_search corpus=all times out while individual corpora succeed #92633
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
memory_searchwithcorpus="all"consistently times out after 15s on OpenClaw2026.6.6, while each individual corpus succeeds:corpus="memory"succeedscorpus="sessions"succeedscorpus="wiki"succeedsopenclaw memory searchsucceedscorpus="all"fails repeatedly withmemory_search timed out after 15sThe returned warning is misleading because it reports an embedding/provider problem even though the provider probe and individual searches are healthy.
Environment
2026.6.6 (8c802aa)v24.14.1builtinopenaitext-embedding-v4/embeddings1024Observed behavior
Deep probe reports healthy provider and index:
{ "provider": "openai", "model": "text-embedding-v4", "providerState": { "mode": "active", "providerId": "openai" }, "embeddingProbe": { "ok": true }, "vector": { "enabled": true, "storeAvailable": true, "semanticAvailable": true, "available": true, "dims": 1024 }, "indexIdentity": { "status": "valid" } }Individual tool calls succeed:
CLI also succeeds:
openclaw memory search --query "..." --max-results 3But
corpus="all"fails consistently, including repeated runs:memory_search({ "query": "...", "maxResults": 3, "corpus": "all" })Result:
{ "results": [], "disabled": true, "unavailable": true, "error": "memory_search timed out after 15s", "warning": "Memory search is unavailable due to an embedding/provider error.", "action": "Check embedding provider configuration and retry memory_search." }The same failure occurs with
maxResults: 1.Why this looks like an all-corpus aggregation issue
The provider, embedding endpoint, sqlite-vec, and index identity all probe successfully. Individual corpora also search successfully. The failure only appears when the tool combines builtin memory/session results with supplement/wiki results under
corpus="all".This suggests the timeout likely occurs in the all-corpus aggregation path, e.g.:
The error attribution currently points users toward provider configuration, but the provider is not the failing component in this case.
Expected behavior
For
corpus="all", the tool should ideally:all-corpus aggregation timed out, instead ofembedding/provider errorwhen provider/index probes are healthy.Notes from 2026.6.6 diff
OpenClaw
2026.6.6appears to improve abort/deadline propagation for memory search and embedding query paths, but thecorpus="all"aggregation still times out in this environment.In particular, the 15s tool deadline still appears to be too tight for the combined path even though individual corpora complete successfully.