Summary
searchMemoryCorpusSupplements in extensions/memory-core/src/tools.shared.ts uses Promise.all to collect results from registered corpus supplements (e.g. memory-wiki). Promise.all fails fast — if any single supplement's search() rejects, all supplement results are discarded.
Steps to reproduce
- Register two corpus supplements (e.g. memory-wiki + a misbehaving one)
- Call
memory_search(corpus="all")
- If one supplement throws, observe that results from the OTHER supplement are also lost
Expected behavior
A failure in one supplement should not affect results from other supplements. The surviving results should still be returned.
Actual behavior
Promise.all rejects immediately when the first supplement fails, discarding all other in-flight results.
OpenClaw version
main branch
Operating system
N/A
Model
N/A
Provider / routing chain
N/A
Summary
searchMemoryCorpusSupplementsinextensions/memory-core/src/tools.shared.tsusesPromise.allto collect results from registered corpus supplements (e.g. memory-wiki).Promise.allfails fast — if any single supplement'ssearch()rejects, all supplement results are discarded.Steps to reproduce
memory_search(corpus="all")Expected behavior
A failure in one supplement should not affect results from other supplements. The surviving results should still be returned.
Actual behavior
Promise.allrejects immediately when the first supplement fails, discarding all other in-flight results.OpenClaw version
main branch
Operating system
N/A
Model
N/A
Provider / routing chain
N/A