Skip to content

fix(mem0): recreate backend on closed-client sync failure (Closes #117) - #3212

Closed
Da-Mikey wants to merge 2 commits into
Lexus2016:mainfrom
Da-Mikey:evolution/issue-117-mem0-sync-recreate
Closed

fix(mem0): recreate backend on closed-client sync failure (Closes #117)#3212
Da-Mikey wants to merge 2 commits into
Lexus2016:mainfrom
Da-Mikey:evolution/issue-117-mem0-sync-recreate

Conversation

@Da-Mikey

Copy link
Copy Markdown
Contributor

Implementation (round 1, 2026-08-26)

  • sync_turn now rebuilds the backend once on failure and retries before
    surfacing; consecutive failures are counted (mem0_sync_failures) and logged
    at ERROR level so silent memory-write loss is visible in errors.log.
  • Selected by analysis phase 2-github-aware-merged (2026-08-26).

Closes #FILED issue : [FIX] mem0 memory sync failing: 'NoneType' object has no attribute 'save_messages' / closed client — memory writes silently dropped

…ue : [FIX] mem0 memory sync failing: 'NoneType' object has no attribute 'save_messages' / closed client — memory writes silently dropped)
@github-actions github-actions Bot added the fix Bug or fix label Aug 26, 2026
@Da-Mikey Da-Mikey changed the title fix(mem0): recreate backend on closed-client sync failure (Closes #FILED issue : [FIX] mem0 memory sync failing: 'NoneType' object has no attribute 'save_messages' / closed client — memory writes silently dropped) fix(mem0): recreate backend on closed-client sync failure (Closes #117) Aug 26, 2026
@Da-Mikey

Copy link
Copy Markdown
Contributor Author

✅ Ready for merge — evolution pipeline (CI green, reviewed)

@Lexus2016

Copy link
Copy Markdown
Owner

Blocked (integration gate): does not close a real, open issue. 'Closes #117' references merged PR #117 ('feat(cron): durable in-flight marker...'), which is unrelated to mem0, and the body's 'Closes #FILED issue : ' is a literal placeholder — no real issue was filed. To fix: file a real issue for the mem0 closed-client sync failure (or link the correct existing open issue), set the branch/title/body to the real issue number, then re-open a PR with a proper 'Closes #NN'. The code change itself (recreate backend on closed-client sync failure) is small and sound — only the issue reference is wrong.

@Lexus2016 Lexus2016 closed this Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug or fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants