feat: persist runtime state across restarts (closes #19) #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/persist-state"
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?
Summary
Persistent SQLite is now the default for the four runtime stores: a restart no longer wipes learnings, review history, symbol embeddings, or webhook delivery dedup.
Closes #19.
Test plan
🤖 Generated with Claude Code
This PR introduces persistent SQLite storage for runtime state, enhancing the robustness of the application by maintaining state across restarts. The changes appear well-structured and beneficial, with appropriate abstractions and tests. Ensure that the new dependencies and environment variable configurations are well-documented and compatible with existing systems.
Walkthrough
sqlxandtempfile, necessary for SQLite operations.DeliveryDeduptrait with both in-memory and SQLite-backed implementations, improving webhook deduplication.fetch_by_keysmethod to theVectorStoretrait, optimizing symbol embedding retrieval.Pre-merge checks
0094005744a88d7eb725This PR introduces persistent SQLite storage for runtime state, enhancing the resilience of learnings, review history, symbol embeddings, and webhook delivery deduplication across restarts. The changes appear well-implemented and safe to merge, with comprehensive test coverage and documentation.
Pre-merge checks