fix: Remove redundant directory creation and use HttpClient from DownloadOptions#1669
Conversation
SummaryThis PR fixes two bugs: removes a redundant directory creation call and ensures custom HttpClient instances from DownloadOptions are properly passed through to HttpOptions. Critical IssuesNone found ✅ AnalysisChange 1: Downloader.cs (src/ModularPipelines/Context/Downloader.cs:62)Bug Fix: The Change 2: FileSystemModuleEstimatedTimeProvider.cs (src/ModularPipelines/Engine/FileSystemModuleEstimatedTimeProvider.cs:30-33)Code Quality Fix: Removes duplicate Both changes are straightforward, focused, and correct. Verdict✅ APPROVE - No critical issues |
…loadOptions - FileSystemModuleEstimatedTimeProvider: Remove duplicate directoryInfo.Create() call that was redundant since directory is already created in the if block above - Downloader: Pass HttpClient from DownloadOptions to HttpOptions so that custom HttpClient instances are actually used during downloads Fixes #1588, #1589 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
5402a16 to
6b8292c
Compare
SummaryThis PR fixes a duplicate directory creation call and passes through the HttpClient option in the Downloader class. Critical IssuesNone found ✅ SuggestionsNone - both fixes are straightforward improvements:
Verdict✅ APPROVE - No critical issues |
Summary
Changes
FileSystemModuleEstimatedTimeProvider.cs: Remove redundantdirectoryInfo.Create()call that was already handled by conditional check aboveDownloader.cs: AddHttpClient = options.HttpClientto HttpOptions so custom HttpClient instances are actually usedTest plan
Fixes #1588, fixes #1589
🤖 Generated with Claude Code