fix(setup): allow repeated Windows setup - #2904
lorenzozanee wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthrough
ChangesBMAD directory replacement
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change fixes repeated Windows setup replacement failures while preserving existing BMAD configuration and content. It is ready to merge. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ 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 |
|
|
Thank you for this, and for the clear write-up of the cause. Closing as superseded by #2918, which reached #2918 fixes the same defect (#2879) a different way: the backup is a name that does not exist yet, so no rename lands on an existing directory and there is nothing to remove first. #2917 also added a native Windows job to CI, so the failure was reproduced on Windows before the fix and passes there after it, which was the evidence this PR could not have. |
What
Allow
bmad setupto replace an existing_bmaddirectory on Windows.Why
Windows rejects the replacement when the temporary backup directory already exists, causing repeated setup to fail with WinError 183. Fixes #2879
How
Testing
The focused regression, setup test suite, repository quality checks, and
git diff --checkpass. Native Windows execution was not available locally.