mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 06:50:43 +00:00
Fixes #64187. Adds bounded retry handling for transient Windows rename failures (`EBUSY`, `EPERM`, `EACCES`) during memory-core SQLite atomic reindex swaps. Keeps missing optional SQLite sidecars ignored and non-transient rename failures fail-fast. Verification: - PR CI green, including `check`, `check-additional`, `checks-node-core`, `build-smoke`, and security fast checks - Contributor local proof: `pnpm exec vitest run extensions/memory-core/src/memory/manager.atomic-reindex.test.ts` - Contributor local proof: `pnpm lint:extensions -- extensions/memory-core/src/memory/manager-atomic-reindex.ts extensions/memory-core/src/memory/manager.atomic-reindex.test.ts` - Contributor local proof: `pnpm check:changed` Co-authored-by: 鲲鹏AI探索局 <kunpeng-ai@outlook.com>