Skip to content

v0.1.2

Pre-release
Pre-release

Choose a tag to compare

@ayanbag ayanbag released this 07 Jul 09:24

sciogen v0.1.2

Fixed

Indexing no longer crashes on large, multi-language codebases.

sciogen index could fail during the Linking dependencies step with:

RuntimeError: Runtime exception: Node(nodeOffset: ...) has connected edges in table
CALLS in the bwd direction, which cannot be deleted. Please delete the edges first
or try DETACH DELETE.

Orphan-placeholder pruning relied on a single undirected degree count
(OPTIONAL MATCH (n)-[r]-()), which KuzuDB undercounts across multiple relationship
tables on large graphs. That caused a DELETE to be attempted on a node that still
had incoming CALLS edges. Pruning now computes true orphans by enumerating edge
endpoints per relationship table — exact regardless of graph size.

This also closes a latent correctness bug: the old undercount could have silently
pruned placeholder nodes that were legitimate call targets, dropping valid CALLS
edges from the graph.

Internal

  • Added GraphStore regression tests for placeholder pruning (referenced
    placeholders retained, true orphans removed, no crash).