Repository navigation
feat: migrate legacy storage to sqlite - #413
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR adds a complete storage migration feature enabling users to migrate legacy JSONL-based tapes and filesystem checkpoint snapshots into SQLite-backed stores. The migration module includes data models, orchestration logic, two specialized migration paths, and a CLI command with comprehensive test coverage. ChangesLegacy Storage to SQLite Migration
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
python -m coding_agent storage migrate-sqlitewith default/data-style paths and explicit override options--replace-tapesis passed, and--dry-rundoes not create SQLite filesVerification
uv run pytest tests/coding_agent/test_sqlite_storage_migration.py tests/cli/test_entrypoint_contract.py tests/agentkit/storage/test_sqlite.py tests/coding_agent/plugins/test_storage.py tests/ui/test_session_manager_public_api.py -v-> 112 passeduv run ruff check <changed python files> --output-format=concise-> All checks passeduv run ruff format --check <changed python files>-> 4 files already formattedgit diff --check-> passedSummary by CodeRabbit