fix(downloader): validate partial download responses and sizes - #386
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe downloader now validates partial response headers and received sizes. It handles 416 resume responses by clearing state and retrying from byte zero. Tests cover valid resume responses, invalid ranges, oversized bodies, and retry limits. ChangesDownloader resume validation and retry handling
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to No concrete merge-blocking risk is identified in the supplied evidence. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
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 |
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: fbb58428-603e-4e1b-88f1-7da0cbef99d7
📒 Files selected for processing (2)
src/downloader.pytests/test_downloader.py
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.
closes #376