• Stefy Lanza (nextime / spora )'s avatar
    colibri/models: don't false-flag a complete HF model as "incomplete" · 556b4238
    Stefy Lanza (nextime / spora ) authored
    hf leaves a stale <sha>.<etag>.incomplete orphan in blobs/ after a resumed or
    retried chunk even though the real file finished — so "download complete" and the
    model page disagreed (settings said done, the page showed  incomplete).
    
    - model list: an .incomplete file now counts as an unfinished download ONLY when its
      final blob (<sha>) is absent; an orphan whose final blob exists is ignored. Fixes
      the false badge for ALL HF models, not just colibri.
    - colibri catalog: _colibri_repo_complete now tests for dangling snapshot symlinks
      (the true "file missing" signal) instead of .incomplete presence, so the settings
      "present" indicator matches reality.
    - colibri catalog label → the real size (~429 GB / 400 GiB).
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01LoSpEthysqmseCc6Geizty
    556b4238
routes.py 191 KB