Skip to content

feat(download): implement streaming downloads for large files#65

Merged
Einswilli merged 2 commits intomasterfrom
feature/streaming-downloads
Mar 29, 2026
Merged

feat(download): implement streaming downloads for large files#65
Einswilli merged 2 commits intomasterfrom
feature/streaming-downloads

Conversation

@Einswilli
Copy link
Copy Markdown
Contributor

  • Added stream_threshold parameter to DownloadRequest (default 10MB)
  • Modified DownloadService.save_content to support streaming writes for large files
  • Updated GitHubAPIService.get_file_content to optionally return async iterator for streaming
  • Updated DownloadOrchestrator to use streaming for files exceeding the threshold
  • Maintains backward compatibility and all existing tests pass (88/88)

Einswilli and others added 2 commits March 29, 2026 22:36
…ce memory usage

- Added stream_threshold parameter to DownloadRequest (default 10MB)
- Modified DownloadService.save_content to support streaming writes for large files
- Updated GitHubAPIService.get_file_content to optionally return async iterator for streaming
- Updated DownloadOrchestrator to use streaming for files exceeding the threshold
- Maintains backward compatibility and all existing tests pass (88/88)
@Einswilli Einswilli merged commit e90dbf0 into master Mar 29, 2026
2 checks passed
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.

2 participants