test: cover resolveSubagentPath candidate resolution#369
Conversation
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds comprehensive test coverage for the ChangesresolveSubagentPath Test Coverage
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Summary
resolveSubagentPathcovering each candidate path (project-level log, session-level log, subagents subfolder) plus the priority order when multiple candidates exist.nullresult when no candidate exists and the safety case where a traversal-styleagentIdresolves outside the projects path.Test plan
bun run test:run— new__tests__/lib/resolve-subagent-path.test.tspasses.🤖 Generated with Claude Code
Summary by CodeRabbit