fix(memory): close local embedding providers on timeout#84048
Conversation
|
Codex review: passed. Workflow note: Future ClawSweeper reviews update this same comment in place. How this review workflow works
Summary Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout path with retained local GGUF mapping, and current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. PR rating Rank-up moves:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. PR egg Rarity: 💎 rare. What is this egg doing here?
Real behavior proof Risk before merge
Maintainer options:
Next step before merge Security Review detailsBest possible solution: Land the scoped timeout cleanup once required exact-head checks pass, keeping the lifecycle tests and accepting the local-embedding cold-start tradeoff as the bounded fix for retained mappings. Do we have a high-confidence way to reproduce the issue? Yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout path with retained local GGUF mapping, and current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Is this the best way to solve the issue? Yes. The PR fixes the implicated owner boundary by adding a provider close lifecycle and wiring Active Memory timeout cleanup through memory-core rather than adding a new config knob or broad cache policy. Label justifications:
What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against aef93881af5f. |
|
🦞🧹
Draft PRs stay fix-only until GitHub marks them ready for review. Pause with Automerge progress:
|
|
/clawsweeper automerge with thanks to brokemac79 |
|
🦞👀 Supported commands: I only act for maintainers, or for trusted ClawSweeper feedback on a ClawSweeper PR or PR opted into |
|
/clawsweeper automerge |
70e7256 to
8e2e369
Compare
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369b5cfd8081876b2b2b5d86b2c1cc6036bf. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369b5cfd8081876b2b2b5d86b2c1cc6036bf Review: openclaw/openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369b5cfd8081876b2b2b5d86b2c1cc6036bf. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369b5cfd8081876b2b2b5d86b2c1cc6036bf Review: openclaw/openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The branch adds a close lifecycle for local memory embedding providers, scoped memory search/index teardown for one agent, Active Memory timeout cleanup, focused tests, and a changelog entry. - Reproducibility: yes. The linked issue gives a concrete OpenClaw 2026.5.18 Telegram Active Memory timeout pa ... current-main source inspection confirms there is no timeout cleanup for that local embedding provider path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(memory): close local embedding providers on timeout Validation: - ClawSweeper review passed for head 8e2e369. - Required merge gates passed before the squash merge. Prepared head SHA: 8e2e369 Review: openclaw#84048 (comment) Co-authored-by: brokemac79 <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
…ctive-memory recall timeout Active-memory recall-timeout cleanup called closeActiveMemorySearchManager, which retired the agent-scoped shared QMD manager used by chat memory_search and startup timers/watchers. A request-scoped recall timeout then left chat memory_search returning "memory search manager is closed" (and entering its 60s cooldown) even while QMD and CLI search stayed healthy. The cleanup's legitimate job (openclaw#84048) is to release the disposable local builtin index/embedding providers a hung recall can leave open, not to retire the shared manager. Add a narrow releaseMemoryIndexManagers path, exposed through the memory-host-search SDK facade as releaseActiveMemoryIndexManagers, that releases only those local index managers and leaves the shared QMD manager alive, and point active-memory's timeout cleanup at it. closeMemorySearchManager keeps its full-close contract for callers that intentionally retire an agent's manager. The recall's in-flight QMD query is already cancelled via the embedded run abort signal. Fixes openclaw#96455
…ctive-memory recall timeout Active-memory recall-timeout cleanup called closeActiveMemorySearchManager, which retired the agent-scoped shared QMD manager used by chat memory_search and startup timers/watchers. A request-scoped recall timeout then left chat memory_search returning "memory search manager is closed" (and entering its 60s cooldown) even while QMD and CLI search stayed healthy. The cleanup's legitimate job (openclaw#84048) is to release the disposable local builtin index/embedding providers a hung recall can leave open, not to retire the shared manager. Add a request-scoped scope: "index-managers" mode to closeActiveMemorySearchManager (routing to a narrow releaseMemoryIndexManagers path in memory-core) that releases only those local index managers and keeps the shared QMD manager alive, and point active-memory's timeout cleanup at it. The default full-close behavior is unchanged for callers that intentionally retire an agent's manager, so the shipped SDK export surface does not grow. The recall's in-flight QMD query is already cancelled via the embedded run abort signal. Fixes openclaw#96455
…ctive-memory recall timeout Active-memory recall-timeout cleanup called closeActiveMemorySearchManager, which retired the agent-scoped shared QMD manager used by chat memory_search and startup timers/watchers. A request-scoped recall timeout then left chat memory_search returning "memory search manager is closed" (and entering its 60s cooldown) even while QMD and CLI search stayed healthy. The cleanup's legitimate job (openclaw#84048) is to release the disposable local builtin index/embedding providers a hung recall can leave open, not to retire the shared manager. Add a request-scoped scope: "index-managers" mode to closeActiveMemorySearchManager (routing to a narrow releaseMemoryIndexManagers path in memory-core) that releases only those local index managers and keeps the shared QMD manager alive, and point active-memory's timeout cleanup at it. The default full-close behavior is unchanged for callers that intentionally retire an agent's manager, so the shipped SDK export surface does not grow. The recall's in-flight QMD query is already cancelled via the embedded run abort signal. Fixes openclaw#96455
…ctive-memory recall timeout Active-memory recall-timeout cleanup called closeActiveMemorySearchManager, which retired the agent-scoped shared QMD manager used by chat memory_search and startup timers/watchers. A request-scoped recall timeout then left chat memory_search returning "memory search manager is closed" (and entering its 60s cooldown) even while QMD and CLI search stayed healthy. The cleanup's legitimate job (openclaw#84048) is to release the disposable local builtin index/embedding providers a hung recall can leave open, not to retire the shared manager. Add a request-scoped scope: "index-managers" mode to closeActiveMemorySearchManager (routing to a narrow releaseMemoryIndexManagers path in memory-core) that releases only those local index managers and keeps the shared QMD manager alive, and point active-memory's timeout cleanup at it. The default full-close behavior is unchanged for callers that intentionally retire an agent's manager, so the shipped SDK export surface does not grow. The recall's in-flight QMD query is already cancelled via the embedded run abort signal. Fixes openclaw#96455
Makes #83858 merge-ready for the ClawSweeper automerge loop.
The edit pass should inspect the live PR diff, review comments, and failing checks; rebase if needed; keep the contributor branch credited; and stop only when validation is green or an external blocker is proven.
ClawSweeper 🐠 replacement reef notes:
Inherited issue-closing references from the source PR:
Fixes #83792
Co-author credit kept:
fish notes: model gpt-5.5, reasoning high; reviewed against 70e7256.