pull,ui,report: render the pull downloads as byte progress
CI / build (push) Successful in 6m18s
CI / test (push) Skipped
CI / publish (push) Skipped
CI / snap (push) Successful in 11m51s

The pull downloads reported through the plain count port only because
byte_progress landed on main after the branch was cut. PullView now
implements it with a byte-counter template in the transfer-style
family (same shape, {bytes}/{total_bytes} counters, human-formatted by
indicatif), downloads emit through it, and the trait doc lists the
event among the ones the pull flow emits — un-duplicating the merged
'message, progress and progress' sentence.
This commit is contained in:
2026-10-03 02:28:22 +02:00
parent a9f535bce5
commit ae679f29d9
3 changed files with 24 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ pub struct BuildTarget<'a> {
/// the build thread; long-lived views are expected to be `Send + Sync`
/// because builds may run inside async tasks. The pull flow only emits the
/// [`BuildView::message`], [`BuildView::progress`] and
/// [`BuildView::progress`] events — no target, phases or outcome.
/// [`BuildView::byte_progress`] events — no target, phases or outcome.
pub trait BuildView: Send + Sync {
/// The build target was identified; the events that follow belong to it
/// (including the earliest subprocess output, e.g. a chroot download).