Repository navigation
Conversation
added 4 commits
October 25, 2026 10:25
…ioning - Add TerminusDB as a graph storage backend - Implement incremental graph updates and version control - Update graph and ingest layers to support version-aware operations - Add integration tests for graph versioning and rollback in `test_graph_versioning.py` - Ensure all tests pass
This branch has not been deployed
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 builds on PR #35 and extends Workspace with lineage-aware, versioned graph storage and historical graph queries.
Changes
graph_sourcesas authoritative assertions.graph_sourcesis omitted and the backend is TerminusDB, extract triples throughIngest.graph_add_pathusing the legacy model.dm_build_<revision>branches for pinned historical reads.Relation to PR #35
This PR is based on and extends OpenDCAI/DataMind#35.
It builds on the TerminusDB graph backend and versioning foundation from PR #35, then adds Workspace-level lineage, historical graph queries, migration handling, and garbage collection of unreferenced revision branches.
Revision Retention
Dolt uses tags to retain Workspace revisions. The current TerminusDB Python client does not expose a tag API, so TerminusDB revision branches serve as durable revision references:
Successful branches remain available for pinned historical reads until Workspace GC confirms that no retained manifest references them. Failed build branches are removed immediately.
Testing
TerminusDB integration tests require a configured TerminusDB DSN and password. If the configured local TerminusDB instance is not already running,
TerminusDBGraphStoreautomatically starts it through_init_terminusdb()when Docker is available.The tests are skipped when the TerminusDB client is unavailable, the DSN or password is not configured, or the local TerminusDB service cannot be started.