You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bundle pull -v: per-entry progress and completion lines count range-dedup spliced bytes as downloaded #2189
area:clidecdn binary: get, gateway, pool, publish, origin, setupkind:bugSomething does not behave as documentedprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Entry openai-gpt-oss-20b/original/model.safetensors (02bd4845…, 12.82 GiB) is range-deduped against the three model-0000x-of-00002.safetensors siblings. The progress bar is correct: it shows 999.75 MiB (11.84 GiB), reaches 999.75 MiB/999.75 MiB … pending siblings…, and the run summary says downloaded 14.8 GB → reconstructed 27.5 GB / range-dedup: spliced 12.7 GB from disk.
The -v lines for the same entry measure against the whole blob instead:
02bd4845…: 888.88 MiB of 12.82 GiB (5.73 MiB/s, ETA 36 minutes)
bundle pull: 02bd4845…: 12.82 GiB in 217.5s (60.33 MiB/s)
About 1 GiB of that entry crossed the network. The 36-minute ETA never happens, and the link never did 60 MiB/s for this entry.
Cause
drive_floor (crates/cli/src/commands/fetch.rs:2227) logs landed of total and fmt_eta(total - landed, bps), where total is the whole blob size (self.total_bytes, fetch.rs:2344), not the bytes this drive has to fetch. On a range-dedup drive the ETA assumes the spliced ranges still need downloading.
log_entry_done (crates/cli/src/commands/bundle_pull.rs:2950) takes both the size and the rate from the staging file length, which includes spliced bytes.
Impact
No billing or correctness effect. But these -v lines are what an operator reads to tell slow entries from fast ones (#2120), and on any range-deduped entry they report a wrong ETA and an inflated rate.
Expected
Per-entry lines measure the bytes this entry downloads, and report spliced bytes separately, e.g. bundle pull: 02bd4845…: 12.82 GiB in 217.5s (0.98 GiB downloaded at 4.6 MiB/s, 11.84 GiB spliced from disk).
A third counter to fold into the fix, seen on a resume run (testnet, 2026-09-28): the summary's downloaded figure also counts a .partial prefix resumed from an earlier run.
Re-pull of metal/model.bin (baa10b83…, 12.81 GiB) after an interrupted earlier attempt: 3.70 GiB spliced from disk, a 1.46 GB .partial resumed, ~8.3 GB actually transferred this run — summary said downloaded 9.7 GB. The behavior is documented (PullReport doc, crates/cli/src/commands/bundle_pull.rs:1075: "it counts a .partial prefix resumed from an earlier run"), but it contradicts the same doc's definition of downloaded as "content bytes paid for": the resumed prefix was paid by the earlier run, not this one. A resume run therefore overstates what it paid.
Suggested shape alongside the per-entry fix: downloaded = bytes fetched this run only, with resumed reported separately (as spliced_bytes already is).
area:clidecdn binary: get, gateway, pool, publish, origin, setupkind:bugSomething does not behave as documentedprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
fix(cli): tighten #2189 progress docs, clamp the -v position to its t…
fix(cli): measure bundle pull -v entry lines on downloaded bytes, not…
yigitdot commentedon Sep 28, 2026
A third counter to fold into the fix, seen on a resume run (testnet, 2026-09-28): the summary's
downloadedfigure also counts a.partialprefix resumed from an earlier run.Re-pull of
metal/model.bin(baa10b83…, 12.81 GiB) after an interrupted earlier attempt: 3.70 GiB spliced from disk, a 1.46 GB.partialresumed, ~8.3 GB actually transferred this run — summary saiddownloaded 9.7 GB. The behavior is documented (PullReportdoc, crates/cli/src/commands/bundle_pull.rs:1075: "it counts a.partialprefix resumed from an earlier run"), but it contradicts the same doc's definition ofdownloadedas "content bytes paid for": the resumed prefix was paid by the earlier run, not this one. A resume run therefore overstates what it paid.Suggested shape alongside the per-entry fix:
downloaded= bytes fetched this run only, withresumedreported separately (asspliced_bytesalready is).