Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: vitali87/code-graph-rag/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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
🔵 Needs a closer look
Add coverage for pkg.util.helper retargeting and correct the misleading test comment.
Review effort: Lite
Findings: None
What changed in this PR
Adds tests for move refactoring behavior, including aliases, cycles, import handling, and shared fixtures.
Changes:
- Adds reusable move-operation fixtures and helpers.
- Covers successful moves, refusal paths, aliases, cycles, and existing modules.
- Tests module import detection edge cases.
| File | Summary |
|---|---|
codebase_rag/tests/test_move_operation.py |
End-to-end move behavior tests; missing assertions for attribute-call retargeting and import updates, plus a misleading comment. |
codebase_rag/tests/test_move_import_presence.py |
Tests module import-presence detection. |
codebase_rag/tests/move_helpers.py |
Shared fixtures and repository 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 #1549, which was closed without merging, and it targets the stale Generated by Claude Code |
Cover move application, cycle refusal, aliases, import presence, and shared fixtures.
Files changed
codebase_rag/tests/move_helpers.pycodebase_rag/tests/test_move_operation.pycodebase_rag/tests/test_move_import_presence.pyDiff stats
+330 additions, -0 deletions (330 LOC)
Dependencies
This PR depends on:
pr-6Dependency graph
Merge in this order: