Repository navigation
Conversation
|
Warning Review limit reachedNext included review available in 45 seconds. View limit detailsLimit details: You’ve used all 8 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository: vitali87/code-graph-rag/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Comments Outside DiffThese findings sit on lines the diff does not cover, so they could not be posted inline. Each one leaves this list once its file changes.
|
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Scope analysis misses supported syntax forms, and rollback can leave edits applied after an undo failure.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (2)
What changed in this PR
Adds shared scope-analysis and transaction/postcondition helpers for upcoming extract/inline refactoring operations.
Changes:
- Adds Tree-sitter span, binding, read, early-exit, and indentation helpers.
- Adds patch commit and postcondition enforcement with rollback handling.
| File | Description |
|---|---|
codebase_rag/editing/extract_scope.py |
Implements extract/inline scope analysis. |
codebase_rag/editing/extract_transaction.py |
Provides shared transaction and contract helpers. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Closing as superseded: this is part of the split of #1550, which was closed without merging, and it targets the stale Generated by Claude Code |


Add shared span/scope analysis plus transaction and postcondition helpers used by extract and inline.
Files changed
codebase_rag/editing/extract_scope.pycodebase_rag/editing/extract_transaction.pyDiff stats
+307 additions, -0 deletions (307 LOC)
Dependencies
This PR depends on:
pr-1Dependency graph
Merge in this order: