feat(recipes): call-path and symbol-neighborhood trace recipes#131
Conversation
Ship cycle-safe call-path tracing and depth-bounded symbol neighborhood exploration with golden fixtures — recipe half of the MCP trace plan.
🦋 Changeset detectedLatest commit: 0337f98 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Warning Review limit reached
Your plan includes 1 review of capacity. Refill in 53 minutes and 16 seconds. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more review capacity refills, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (20)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Prefer call paths over file imports for via=all; document via modes and neighborhood depth semantics; expand golden coverage; changeset patch bump.
Summary
call-pathrecipe — shortest cycle-safe call path between two symbols (via:calls|dependencies|all).symbol-neighborhoodrecipe — depth-bounded bidirectional call-graph walk plus one-hop file dependencies.fixtures/minimal; fixture.codemap/.gitignoreignoresindex.lock/errors.log.Recipe half of mcp-trace-explore-tools (PR 4 in agent-surface-delivery). MCP
trace/exploretools follow in PR 6.Test plan
CODEMAP_ROOT=fixtures/minimal bun src/index.ts query --recipe call-path --params from=createClient,to=handshake --jsonCODEMAP_ROOT=fixtures/minimal bun src/index.ts query --recipe symbol-neighborhood --params name=createClient,depth=1 --jsonbun run test:golden