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 progress UX: show dedup'd download total, visible reconstruction, and stalled-entry state #2096
After run-level shared-chunk coalescing (#2095), a bundle pull's progress display misrepresents what's happening:
Headline & ETA are content-metered, not download-metered. The total bar's denominator is the sum of full file sizes, and spliced-from-disk bytes are credited to it — so it blends real downloading with free disk splicing. For a dedup'd pull it reads e.g. 25.6/25.66 GiB, ETA 1s while only ~14.8 GB is actually transferred, and the ETA is fiction.
Reconstruction is invisible. The tail splice + whole-file BLAKE3 verify (of a 13.7 GB blob) runs with no progress callback, then the bar jumps to 100% — so it looks frozen for the ~minute it hashes.
A stalled entry hides behind a near-full total. When one small blob stalls on discovery/retry (observed: tokenizer.json — 3 probed node(s) did not answer), the total bar sits near 100% with a bogus ETA and nothing shows which entry is the holdout.
Proposed UX
Header shows the dedup'd download total, full on-disk size alongside:
openai-chunked · 14.8 GB to download · 27.5 GB on disk
model-00000-of-00002.safetensors 3.1/4.6 GB [===========> ]
original/model.safetensors 1.0/1.0 GB (12.7 GB) reconstructing… [========> ]
tokenizer.json discovering…
total 9.2/14.8 GB 62%, 42.1 MiB/s, ETA 2m13s [===========> ]
Total bar + ETA metered on download bytes only (never credit splices), denominator computed exactly up front from the post-pre-pass FetchPlan/plan_reassembly drive ranges.
Per-file shows downloaded/download-total (reconstructed-from-disk) plus a short state word: downloading → pending siblings… → reconstructing…. The reconstructing… bar is fed bytes-hashed from the whole-file verify so it never looks frozen; pending siblings… is legitimately still on that row (the total bar is the liveness cue).
Stalled/discovering entry surfaces its state (discovering…) instead of hiding behind a near-full total.
Scope
crates/cli/src/commands/pull_progress.rs + bundle_pull.rs (download-total computation, per-entry state signals, a whole-file-hash progress callback). No wire/protocol change. Follow-up to #2094/#2095.
Activity
feat(cli): honest download-metered bundle pull progress with reconstr…