fix(quick-dev): use absolute paths in code -r invocations#2087
Conversation
Agent CWD may differ from the project root in worktree setups, causing relative paths to silently fail. Resolve paths via git rev-parse --show-toplevel before invoking code -r.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR updates two documentation files to refine VS Code editor-launch behavior. Instructions now compute absolute paths for the repository root and spec file via Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
🤖 Augment PR SummarySummary: Updates quick-dev presentation steps so 🤖 Was this summary useful? React with 👍 or 👎 |
src/bmm-skills/4-implementation/bmad-quick-dev/step-05-present.md
Outdated
Show resolved
Hide resolved
Adds graceful fallback to current working directory when git rev-parse --show-toplevel fails (VCS unavailable).
Triage Summary2 findings — FIX: 1, DISMISS: 1, DEFER: 0
|
Summary
code -rinstep-05-present.mdandstep-oneshot.mdnow resolves absolute paths viagit rev-parse --show-toplevelbefore invocationTest plan
code -ropens the correct VS Code workspacecode -rcommand output