Repository navigation
Fix KuzuDB compatibility, DB override precedence and test determinism - #812
Merged
Shashankss1205 merged 3 commits intoMay 7, 2026
Conversation
|
@DhineshPonnarasan is attempting to deploy a commit to the shashankss1205's projects Team on Vercel. A member of the Team first needs to authorize it. |
Collaborator
|
@DhineshPonnarasan We have a lot of merge conflicts on this because of the recent refactor we did. can you please rebase it and then make a PR? |
Contributor
Author
|
Done bro @Shashankss1205 |
bhavnesh75
added a commit
to hi0001234d/CodeGraphContext
that referenced
this pull request
Apr 15, 2026
bhavnesh75
pushed a commit
to hi0001234d/CodeGraphContext
that referenced
this pull request
Apr 15, 2026
Collaborator
PR #812 — Testing CompleteOverviewPR #812 adds KuzuDB compatibility to CodeGraphContext. Previously only Neo4j was supported, now users can use KuzuDB as the graph database backend. Key Changes Made:
17 Tests Added (File-wise)tests/unit/core/test_database_kuzu_compat.py (10)
tests/unit/core/test_database.py (4)
tests/integration/cli/test_cli_commands.py (1)
tests/e2e/test_user_journeys.py (2)
Test Results
Status: ✅ PR #812 Verified Verification Date: 2026-04-15All 17 tests verified on branch
Additional Notes
|
Shashankss1205
approved these changes
May 7, 2026
macunha1
pushed a commit
to macunha1/CodeGraphContext
that referenced
this pull request
Jun 21, 2026
…9-kuzu-compat-and-cli-hardening Fix KuzuDB compatibility, DB override precedence and test determinism
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 addresses the KuzuDB compatibility and runtime-selection issues tracked in #769, and hardens test determinism across environments.
What changed
KuzuDB compatibility and stability
database_kuzu.py:WITHcarry-overConfig/runtime precedence and logging
_load_credentials()precedence to preserve runtime env values over file-config merges.DEFAULT_DATABASE.--dbalias for global DB override.Neo4j connection handling
Neo4jConnectionErrormessages with suggested fixes.cgc doctorwith credential check, endpoint/port check, and connection test reporting.CGC_ALLOW_NEO4J_FALLBACK).Cross-platform path handling
relative_to()ingraph_builder.py.os.path.relpathfallback when paths are not directly relative.Test hardening and determinism
tests/unit/core/test_database_kuzu_compat.pytests/unit/core/test_database.py.falkordbinstallation.--db kuzudbfor index/list/find/delete flowskuzuis not installedsys.executableinstead of hardcodedpython3Validation
pytest -q=> 166 passed, 16 skippedpytest -q tests/unit/core=> 81 passed, 14 skippedpytest -q tests/unit/core/test_database_kuzu_compat.py=> 10 passedScreenshot
Linked issue
Hi @Shashankss1205 ,
Please review these changes and let me know if any further modifications are needed. If you notice any issues, please leave a comment below and I will address them. Thank you!