Skip to content

Metadata probe outside the retry loop #279

Closed

Description

@thcp

Location: download.py:228
Severity: HIGH

The pre-download extract_info(download=False) duration check has no retry and no explicit socket timeout. A transient network blip at that instant fails the job immediately, even though the actual download has a 3-attempt backoff.
Wrap the metadata fetch in the same _is_retriable/backoff loop and set socket_timeout in ydl_opts.

From the health report. Part of #273 (Phase 2 — Resilience).

Activity

  1. added
    bugSomething isn't working
    reliabilityStability, resource management, race conditions
    on Jul 16, 2026
  2. added a commit that references this issue on Jul 17, 2026
    4a3ba0f
  3. self-assigned this
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreliabilityStability, resource management, race conditions

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions