github vitali87/code-graph-rag v0.7.129

2 hours ago

Highlights

  • Engine Improvements: The Rust engine now includes a thread pool for hashing files in input order, and its skeleton is complete. It performs discovery and file plan generation, checked against Python's walk on each index.
  • Python and Rust Engine Integration: Design phase 1 and 2 are complete, establishing the seams between the Python and Rust engines, with hand-off files being compared in both modes.
  • Index Enhancements: The GraphUpdater now resolves the index engine once, routing files through a single point. The Python engine writes its file plan and project index on request.
  • Improved Error Handling: The system now fails on Python def <-> async def flips and on a Python def <-> async def flip. It also handles cases where a caller still reaches a moved symbol through a re-export.
  • Refined Code Checking: cgr check now leaves out names that are not UTF-8 and reads escaped trailing spaces and byte-order marks in ignore files as Git does.

What's Changed

  • fix(check): report an edit that leaves a file unparsable by @vitali87 in #3307
  • fix(python): type a parameter annotated Annotated[T, ...] as T by @vitali87 in #2955
  • test(check): isolated check graph restore and end-to-end store (#1718) by @vitali87 in #2150
  • fix(types): type the variables a nested function captures from its enclosing function by @vitali87 in #3331
  • test(check): isolated check cleanup and report on disk (#1718) by @vitali87 in #2149
  • fix(check): a caller still reaching a moved symbol through a re-export is not dangling by @vitali87 in #3312
  • fix(flow): start and end Python flows at resource handles by @vitali87 in #2770
  • fix(python): bind no first-party method to a call on a builtin value by @vitali87 in #2912
  • fix(java): let an anonymous class's method see the enclosing method's captures by @vitali87 in #2991
  • fix(cli): list syncs in cgr status from the graph the backend selects by @vitali87 in #3681
  • fix(graph): a row without a site leaves the located edges alone by @vitali87 in #3529
  • test(reference): record and check what commands and MCP tools answer on the pinned repositories by @vitali87 in #3678
  • fix(js-ts): resolve calls through the name an object literal is bound to by @vitali87 in #3118
  • test(graph): cover site-less relationship rows on the embedded engine by @vitali87 in #3530
  • fix(js-ts): an instance call skips a static member of the receiver's class by @vitali87 in #3679
  • fix(php): bind callable values and relative construction by @vitali87 in #3652
  • fix(php): bind callable values and relative construction by @chiranjiveesuman in #3201
  • fix(mcp): return any definition's source from get_function_source and flag a miss as an error by @vitali87 in #3680
  • fix(calls): a bare call binds no method of an unrelated class by @vitali87 in #2948
  • fix(ts): a method call on a cast receiver binds the cast's type by @vitali87 in #2959
  • fix(python): resolve self.m() / cls.m() on the enclosing class, exactly by @vitali87 in #2908
  • fix(check): fail on a Python def <-> async def flip by @vitali87 in #2951
  • fix(calls): a call to an inherited method binds the base's method by @vitali87 in #3240
  • docs(rewrite): design phase 1, the seams between the Python and Rust engines by @vitali87 in #3707
  • refactor(reference): move the reference graphs' line format into codebase_rag.canonical_graph by @vitali87 in #3710
  • ci(tests): refuse a removed test without an entry in the replacement map by @vitali87 in #3712
  • feat(config): add CGR_INDEX_ENGINE, the per-language engine setting (every language stays on Python) by @vitali87 in #3711
  • feat(indexer): GraphUpdater resolves the index engine once and routes every file through one place by @vitali87 in #3713
  • feat(indexer): the Python engine writes its file plan and project index on request by @vitali87 in #3714
  • test(engine): add the python, rust and both engine modes, and run them in the 3.13 CI cells by @vitali87 in #3715
  • test(engine): compare the hand-off files in both mode and on the pinned repositories by @vitali87 in #3717
  • refactor(engine): read an unchanged module's imports back only where _route sends it to tree-sitter by @vitali87 in #3719
  • ci(engine): check the reference graphs on the python and rust engine selections too by @vitali87 in #3720
  • fix(fingerprint): hash each language's resolved engine and the cgr-graph-rs version (#3725) by @vitali87 in #3732
  • docs(rewrite): phase 2 design, the Rust engine's frame inside cgr-graph-rs by @vitali87 in #3728
  • fix(reingest): publish the hash cache atomically, already stamped, as run() does (#3726) by @vitali87 in #3733
  • fix(incremental): count only definitions a departing module owns as defined into it (#3727) by @vitali87 in #3731
  • fix(ignore): read escaped trailing spaces and byte-order marks in ignore files as git does (#3723, #3724) by @vitali87 in #3730
  • build(deps): move the tree-sitter pair to py-tree-sitter 0.27.0 and the crate 0.27.2 by @vitali87 in #3729
  • feat(engine): the Rust engine's skeleton, a thread pool that hashes files in input order by @vitali87 in #3735
  • fix(walk): index only regular files whose names are valid UTF-8 (#3721, #3722) by @vitali87 in #3734
  • feat(engine): the walk's ignore rules in Rust, held to pathspec and path_utils answer for answer by @vitali87 in #3739
  • fix(go): keep named pipes out of the Go type checker's loads by @vitali87 in #3742
  • fix(check, tools): leave out names that are not UTF-8 in cgr check; rename and structural search read only regular files by @vitali87 in #3743
  • fix(sync): read an unusable hash cache or folder-time map as none, and drop names from before #3722 by @vitali87 in #3747
  • feat(engine): discovery and the file plan in Rust, checked against Python's walk on every index by @vitali87 in #3741
  • fix(walk): a folder cgr may not enter no longer ends the run on Python 3.12/3.13 by @vitali87 in #3749
  • fix(index): name a package's init.pyi after its folder beside another language's init file by @vitali87 in #3753
  • feat(engine): change detection, the file half, in Rust, checked against Python's on every run by @vitali87 in #3751
  • feat(engine): the structure pass and File rows in Rust, checked against Python's on every run by @vitali87 in #3754
  • feat(engine): the merge frame and module-name plan in Rust, checked against Python's on every fresh run by @vitali87 in #3755

New Contributors

Full Changelog: v0.7.79...v0.7.129

Don't miss a new code-graph-rag release

NewReleases is sending notifications on new releases.