Skip to content

Simplify download pipeline architecture #5

@ZenonEl

Description

@ZenonEl

Description

Reduce download pipeline from 4 abstraction layers to 2. Remove dead code, improve error classification.

Tasks

  • Delete CliDownloadExecutor, ArgumentBuilder, ProcessRunner, RetryOrchestrator
  • Create DownloadService — single orchestrator for downloader selection, retry, proxy
  • Create DownloadErrorClassifier with regex patterns for 403, 429, disk full, auth errors, geo-block
  • Refactor PostProcessors/ (FfmpegTranscoder, VideoSplitter) to use Result<T>
  • Refactor ProxyPolicyManager and RetryPolicyManager to use Result<T>
  • Update downloader-config.yaml.example

Phase

Phase 2.3-2.4 — Download Pipeline

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringCode refactoring and cleanup

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions