Skip to content

Measure: a reference model the LFS CDN keeps truncating fails the run; resume short downloads instead of restarting them #1386

Closed

Description

@DrunkOnJava

Measure run 41907340876 failed in "Fetch the reference models" after 22 minutes. tools/fetch-reference-models.sh downloaded the 33.7 MB Core Interior from media.githubusercontent.com three times. Each attempt came back short (33,189,962, 33,677,127 and 32,753,858 of 33,718,272 bytes), and each restart from zero dropped again. That is a false red: the code was never measured.

Change: a short download resumes from the bytes already received, with an HTTP Range request. A server that ignores the range restarts the file. There are six attempts with a growing pause. A full-size file whose hash differs is still a real mismatch.

Done when: a truncated file resumes and is verified by its pinned sha256 and byte count, and a real mismatch still fails the run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cipriority:P1type:ci

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions