Skip to content

Fix download function - #436

Merged
ChristopherMancuso merged 2 commits into
mainfrom
fix-download
Aug 17, 2026
Merged

Fix download function#436
ChristopherMancuso merged 2 commits into
mainfrom
fix-download

Conversation

@ChristopherMancuso

@ChristopherMancuso ChristopherMancuso commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Fix download hang: stream response, add progress bar, surface real error

requests.get() buffered the entire multi-hundred-MB tarball in memory with no progress output and a 2s timeout applied to the whole body, making a slow-but-working download indistinguishable from a hang. Now streams the response with a tqdm progress bar, uses separate connect/ read timeouts, and logs the actual exception instead of guessing "probably a connection timeout".

ChristopherMancuso and others added 2 commits August 17, 2026 14:39
…rors

requests.get() buffered the entire multi-hundred-MB tarball in memory
with no progress output and a 2s timeout applied to the whole body,
making a slow-but-working download indistinguishable from a hang. Now
streams the response with a tqdm progress bar, uses separate connect/
read timeouts, and logs the actual exception instead of guessing
"probably a connection timeout".

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016w6X5FUzuYwjqCSDmgVkjY
@ChristopherMancuso
ChristopherMancuso merged commit 4f3422e into main Aug 17, 2026
1 of 9 checks passed
@ChristopherMancuso
ChristopherMancuso deleted the fix-download branch August 17, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant