[P0] Mark Consolidation Complete on Mem0 Unavailability #8
Labels
No labels
audit-2025-12-03
component/api
component/commands
component/llm
component/memory
component/tick-loop
component/tools
priority
high
priority
low
status
in-progress
status
needs-info
status
needs-triage
status
on-hold
type
bug
type
documentation
type
enhancement
type
feature
type
refactor
type
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
blightbow/evennia_ai#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When Mem0 is down:
Suggested Fix
Detect Mem0 unavailability and mark consolidation complete (with error state) to prevent infinite retry loop.
Priority
P0 — Immediate (Blocks Production)
Source
Architecture Audit 2025-12-03, Critical Gaps Section 5: External Service Degradation
Implementation Complete
Committed in
54cf6b1db: Fix infinite retry loop when Mem0 unavailable during sleepChanges
CircuitOpenErrorhandler inrun_sleep_consolidation()completion_state='error_unavailable'to prevent infinite retrycompletion_state='success'on successful consolidationtest_sleep_consolidation.pywith 5 testsThe sleep phase now correctly transitions to "dreaming" even when Mem0 is unavailable.