Commit Graph
2 Commits
Author SHA1 Message Date
utkarsh240799andClaude Opus 4.6 630d44c634 test(openclaw): add tests for SQLite resilience and export config/provider for testability
Add 10 tests covering disableHistory config passthrough, initPromise
retry after failure, graceful SQLite fallback, and PlatformProvider
retry. Export mem0ConfigSchema and createProvider for test access.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 01:06:12 +05:30
utkarsh240799andClaude Opus 4.6 5ae627b51a fix(openclaw): add SQLite resilience for OSS mode initialization
Fix initPromise poisoning in both PlatformProvider and OSSProvider where
a failed init permanently cached the rejected promise, preventing retries.
Add disableHistory passthrough so users can opt out of SQLite history
storage. Add graceful fallback that auto-retries with history disabled
when Memory construction fails (e.g. native binding resolution under jiti).

Fixes #4172

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 00:48:12 +05:30