Verify model downloads with a checksum and resume partial downloads

オープン
#11 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
50/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
tooling

調査の方向性

The issue does not name the download code, so first search the repository for where model archives are fetched and marked as installed. Read that path to see how the file is written and when it counts as present. Done means the four acceptance criteria hold: a .part file renamed only after a SHA-256 match, range-request resume, one re-download on corruption, and tests run against a local HTTP server.

索引モデルが issue の本文から書いたものです。

説明

Models are downloaded on first use (48 MB to 638 MB). A dropped connection can leave a truncated archive that is later treated as installed.

Acceptance criteria

  • Download to a .part file and rename only after the SHA-256 matches a pinned value
  • Resume with an HTTP range request when a .part file exists
  • A corrupt or truncated archive is removed and re-downloaded once, then reported clearly
  • Tests use a local HTTP server, not the network

Estimate: 5 h

主要言語
Rust
スター
0
フォーク
0
平均マージ
3分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mrgnw/spatial-maker のほかの issue

mrgnw/spatial-maker の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。