Migrate graph storage from KuzuDB to LadybugDB#303
Open
HumanBean17 wants to merge 1 commit into
Open
Conversation
- Fix test file references from kuzu to ladybug (kuzu_db_path_cross_service_smoke → ladybug_db_path_cross_service_smoke) - Fix stale ontology tests to use ladybug.Connection instead of kuzu.Connection - Fix database file extension (.kuzu → .lbug) - Fix helper functions in _builders.py (build_kuzu_to → build_ladybug_to) - Add _parse_ladybug_json helper to handle LadybugDB's non-standard JSON format (unquoted keys) - Update meta() method to use _parse_ladybug_json for all JSON fields - Update error messages and CLI arguments from kuzu to ladybug - Fix test assertions to use ladybug_path instead of lbug_path - Fix test constant references (KUZU_INCREMENTAL_TRACKING_ISSUE_URL → LADYBUG_INCREMENTAL_TRACKING_ISSUE_URL) - Fix test assertions for LadybugDB warning messages - Add _parse_ladybug_json helper to test_ast_graph_build.py Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
fd5f489 to
c9a8e27
Compare
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.
Summary
This PR replaces the KuzuDB dependency with LadybugDB, the maintained fork by the same core team. This is a mechanical rename with no logic changes.
Changes
kuzu>=0.11.3,<0.12→ladybug>=0.17.1,<0.18kuzu_queries.py→ladybug_queries.pyKuzuGraph→LadybugGraphresolve_kuzu_path→resolve_ladybug_path, etc.--kuzu-path→--ladybug-pathcode_graph.kuzu→code_graph.lbugkuzu_type→graph_type(engine-agnostic)Test plan
🤖 Generated with Claude Code