Repository navigation
Conversation
|
Warning Review limit reachedNext included review available in 8 minutes. 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 (1)
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 |
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The change is test-only and the added cases are coherent and consistent with existing unit-test patterns, with only a minor test naming mismatch noted.
Review effort: Lite
Findings: 1
What changed in this PR
Adds end-to-end acceptance tests for the change_signature editing operation, exercising parameter insertion/reordering, unmapped/heuristic-site handling, hierarchy rewrites, TypeScript rewrites, and transactional rollback on contract failure.
Changes:
- Introduces a new acceptance test suite covering successful rewrites across Python and TypeScript.
- Adds negative/guard-rail coverage for refused mappings (type mismatch, invalid ordering, surplus-arg callers, heuristic edges).
- Verifies contract enforcement behavior, including rollback and history cleanup on post-reingest failures.
| File | Description |
|---|---|
codebase_rag/tests/test_change_signature_acceptance.py |
New acceptance coverage for mapped/unmapped/heuristic/hierarchy/TypeScript/rollback change-signature flows |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| def test_add_required_parameter_with_a_default_mapping( | ||
| repo: tuple[Path, _StatefulIngestor, GraphUpdater], | ||
| ) -> None: |
5a9aaa2 to
9766c86
Compare
|




End-to-end acceptance coverage for mapped, unmapped, hierarchy, TypeScript, and rollback flows.
Files changed
codebase_rag/tests/test_change_signature_acceptance.pyDiff stats
+316 additions, -0 deletions (316 LOC)
Dependencies
This PR depends on:
pr-7Dependency graph
Merge in this order: