Repository navigation
fix(explore): return requested test callbacks and caller-linked test source - #390
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (4)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (7)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 SummarySummary by CodeRabbit
Walkthrough
ChangesRequested test source
Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to No actionable issue remains that should prevent merging after normal checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change expands which repository text is returned, without a demonstrated increase in read authority or executable actions. Existing traversal, file-selection, and response limits remain in place. Deployment-specific access controls were not established. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Pinned JavaScript and TypeScript test files could return only helpers. Questions about tests could list a test in the blast radius while omitting its source. Explore now prioritizes matching callbacks and includes source from the nearest test callers of named symbols.
Test discovery follows at most three caller hops. A bounded walk through test-local helpers recovers callback call sites. Complete statements around those calls remain available when a long callback exceeds its allowance. Examples keep their ranking penalty and cannot terminate the search for actual tests. Architecture questions still exclude test source; file and output limits still apply.
Validation:
README rows checked: added Requested test source; checked Missing names reported and Change questions. The MCP reference, server instructions and changelog describe the new behavior. No quoted benchmark numbers changed. Extraction and resolution are unchanged, so no re-index is required.