Skip to content

bundle pull progress UX: show dedup'd download total, visible reconstruction, and stalled-entry state #2096

Closed

Description

@alpergundogdu

Problem

After run-level shared-chunk coalescing (#2095), a bundle pull's progress display misrepresents what's happening:

  1. 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.
  2. 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.
  3. 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

  1. added
    kind:feature
    area:cli
    on Sep 21, 2026
  2. moved this from Backlog to Ready in deCDNon Sep 21, 2026
  3. moved this from Ready to In progress in deCDNon Sep 21, 2026
  4. moved this from In progress to Done in deCDNon Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:clikind:feature

Type

No type

Fields

Priority

Medium

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions