Repository navigation
fix(chat): increment temp file suffix correctly - #326
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe move helper now derives numbered fallback names once from the original candidate path. A regression test verifies that existing candidates remain unchanged and the source moves to the next available name. ChangesNon-clobbering file move
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to Downloads now retain a stable basename and select the next numbered filename without overwriting existing files. The change is ready to merge. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
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. A rabbit checks each filename twice Comment |
Summary
Fix temp-file collision numbering so repeated downloads keep a stable basename and increment numerically instead of accumulating suffixes such as
_1_2_3.Type of change
Changes
_move_no_clobbersearches for an available numbered path.Screenshots / Logs
Checklist
requirements.txt(if applicable)Summary by CodeRabbit
Bug Fixes
Tests