feat: add SQLite FTS storage backend - #4
Merged
Conversation
Detailed changes: - Add a feature-gated dyn storage compatibility layer for PostgreSQL/Elasticsearch and SQLite/FTS5. - Add the SQLite schema, transactional persistence and search, tests, CI, and documentation. - Include the complex development skill in the workspace. Signed-off-by: chunchi.che@lexmount.com Co-Authored-By: GPT-5 <noreply@anthropic.com>
Detailed changes: - Move Elasticsearch documents, outbox, client, and worker under the PostgreSQL storage backend. - Keep the shared search module limited to backend-neutral contracts and projection logic. - Preserve the dyn StorageBackend boundary so HTTP handlers do not observe search-engine differences. Signed-off-by: chunchi.che@lexmount.com Co-Authored-By: GPT-5 <noreply@anthropic.com>
Detailed changes: - Replace rusqlite pooling, migrations, and relational queries with Diesel SQLite ORM. - Keep FTS5 projection and search behind parameterized raw SQL with compile-time backend isolation. - Add Diesel SQLite schema models and standard up/down migrations. Signed-off-by: chunchi.che@lexmount.com Co-Authored-By: GPT-5 <noreply@anthropic.com>
Detailed changes: - Make StorageBackend explicitly return object-safe BoxedFuture values. - Update PostgreSQL and SQLite implementations to box their asynchronous work. - Remove async-trait from manifests and the lockfile. Signed-off-by: chunchi.che@lexmount.com Co-Authored-By: GPT-5 <noreply@anthropic.com>
Detailed changes: - Move PostgreSQL usage persistence into the backend-specific storage module. - Keep the shared usage module independent of concrete storage implementations. Signed-off-by: chunchi.che@lexmount.com Co-Authored-By: GPT-5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Detailed changes:
Signed-off-by: chunchi.che@lexmount.com