Repository navigation
Stream transfer progress as labeled rows; hide registry HTTP noise - #13410
Merged
Merged
Conversation
Registry pulls, resolves, and pushes spawn dozens of low-level HTTP request spans from containerd and otelhttp instrumentation, flooding the TUI when a user expands a container.from call. Mark the pulling, resolving, and pushing spans with Encapsulate so their children are hidden, and stop revealing encapsulated failures when the parent span succeeded: the registry auth dance always begins with a 401 challenge that otherwise renders as a scary failed span. Genuinely failed pulls still reveal the underlying HTTP spans for debugging. Signed-off-by: Alex Suraci <[email protected]>
Image pulls previously rendered as an opaque span with no indication of what was happening or how much was left. Establish a streaming progress convention over OTel logs (dagger.io/progress.item, .current, .total, .unit attributes; empty body so text consumers skip them) and emit per-layer download progress from the registry pull path by wrapping the content store handed to remotes.FetchHandler. Logs are used rather than metrics because the engine's metric reader only flushes every 5s, too coarse for live progress. The TUI folds these records into per-span progress state instead of treating them as log text, surfaces them on ancestors, and renders one braille cell per layer, filling from 1 to 8 dots as bytes arrive, plus an aggregate byte count. Collapsed rows aggregate their subtree; expanded rows defer to the deepest visible row, so progress lands on the container.from call while the encapsulated pulling span stays hidden. The same convention is reusable for git, HTTP, and filesync transfers. Signed-off-by: Alex Suraci <[email protected]>
The docker-build-fail golden was regenerated against a persistent dev engine whose container hostname doesn't match the *.dagger.local scrub pattern, baking an unscrubbed name into the expected output. Restore the scrubbed form CI's ephemeral engine produces. Signed-off-by: Alex Suraci <[email protected]>
A tiny OTLP http/protobuf receiver that dumps every span, log record, and metric data point as one JSON line for offline inspection of the telemetry a dagger run emits. Used as the verification loop for the image pull progress work: point OTEL_EXPORTER_OTLP_* at it and inspect the stream with jq. Signed-off-by: Alex Suraci <[email protected]>
Documents the progress-over-OTel-logs architecture, the verification loop (cold pull tricks, OTLP capture, pty rendering checks, golden regeneration gotchas), and remaining loose ends, so the work can be continued in a fresh session without re-deriving context. Signed-off-by: Alex Suraci <[email protected]>
Live image pulls finish too fast to ever capture mid-flight frames, so the partial braille fill states had no test coverage. Add a viztest function emitting synthetic dagger.io/progress records with hard-coded values that never complete - one item per fill state (complete, nearly full, half, started, untouched, unknown total) plus an overflowing item set on a child span - and a golden locking in row attribution, the +N overflow marker, and the aggregate byte summary. The golden alone can't pin the per-cell fill math: scrub.Stabilize collapses every braille run to one canonical sequence because roll-up dots are timing-nondeterministic. Cover that in a renderer unit test instead, asserting the exact cells produced by the synthetic items. Signed-off-by: Alex Suraci <[email protected]>
The decompress/apply phase of a cold pull - roughly 40% of its wall time - emitted nothing, so the .from bars sat complete while the pull visibly wasn't. Wrap ImportImage's layer loop in an encapsulated "unpacking <ref>" span mirroring the resolver's "pulling" span, and hook containerd's native diff.WithProgress apply option to stream compressed-bytes-read per layer, keyed by blob digest so the two phases line up cell for cell. Deduped layers skip Apply and emit nothing. The emitter moves to engine/snapshots as EmitProgress so the resolver and snapshot manager share one definition. Fetch and unpack read the same compressed bytes, so merging all progress sources into one bar run doubled the apparent transfer size. renderProgressBars now renders each source as its own segment with its own byte count, sharing the per-row cell budget. Signed-off-by: Alex Suraci <[email protected]>
Progress bars merged into their ancestor's title row were anonymous:
a .from row showed fetch and unpack as two unlabeled bar segments. The
data was already there - progress attaches to named spans ("pulling
nginx:latest", "unpacking nginx:latest") - so show those spans instead
of hoisting their bars. Carrying progress now reveals an encapsulated
span in the tree, and collapsed rows surface their descendants'
progress as indented rows, like the error origin roll-up. Bars are
never merged across spans anymore.
Progress rows lead with their bar in place of the status icon - the
fill state already conveys status - followed by the byte count, the
span name in faint, and the duration. The leading cells set them apart
from ordinary spans.
The pulling/unpacking span names drop the repo digest and default
registry (DisplayRef) since they now surface as row labels, where a
64-hex digest would push the bar off-screen.
Signed-off-by: Alex Suraci <[email protected]>
Braille was carrying three meanings at once - the spinner, roll-up dots, and progress fills. Progress now uses block elements, leaving braille to mean span status only. Multi-item (2-D) progress renders one bottom-up-filling cell per item like a bar chart; a single item renders as a fixed-width track filling left-to-right, so the two forms read differently at a glance. As a bonus, block runs escape the braille scrub in goldens, so exact fill states are now locked in. Bars move back to the right of the span name, after the duration, matching every other row decoration; the name stays faint so progress rows still read as labels rather than steps. The status icon returns to the front of progress rows. Signed-off-by: Alex Suraci <[email protected]>
Dim the bar cells, track remainder, and byte counts to match the faint span name and duration, so the whole progress row reads as one quiet decoration layer with only the status icon at full intensity. Signed-off-by: Alex Suraci <[email protected]>
Reflect the unpack emitter, labeled progress rows, block-element bars, and the pending full-suite harness validation blocked on the Docker Hub rate limit. Signed-off-by: Alex Suraci <[email protected]>
Wrap both HTTP download paths' response bodies (the cache-aware HTTPState.Resolve and FetchHTTPFile) in a counting reader that streams read progress via the telemetry convention, inside an encapsulated "fetching <url>" span. A single item with Content-Length renders as the 1-D left-to-right track, labeled with the URL; a 304 revalidation moves no bytes, emits nothing, and stays hidden. The unpack emitter's throttled tracker generalizes to progressTracker plus an exported snapshots.NewProgressReader for any byte-stream emitter (git is next). Signed-off-by: Alex Suraci <[email protected]>
Pass --progress to git fetch and parse the sideband "Receiving
objects: N% (cur/total)" stderr lines via a gitutil.WithStreams
writer, emitting object counts through the telemetry convention inside
an encapsulated "fetching <remote>" span. The writer attributes to the
fetching span rather than the per-command span, so a named-ref retry
continues the same bar; an up-to-date repo skips fetching and emits
nothing.
Objects aren't bytes, so EmitProgress gains a unit parameter and the
renderer summarizes non-byte units as raw counts ("1234/2900 objects")
instead of humanized sizes.
Signed-off-by: Alex Suraci <[email protected]>
log.Fatal after `defer f.Close()` meant the deferred close never ran. Close the file explicitly before the final fatal log instead. Signed-off-by: Alex Suraci <[email protected]>
otlpdump proved its worth during the progress-telemetry work (verifying emitter cadence and convergence, distinguishing emitter bugs from rendering bugs), so keep it and make it discoverable: a skill documents the capture workflow, the endpoint env var gotchas, the jq queries for spans/logs/progress records, and the cold-state caveats. Signed-off-by: Alex Suraci <[email protected]>
Progress records can be ingested before their span arrives, and spans before their ancestors; the ancestor walk in ingestProgress then has nowhere to go and was never retried, so the progress row never surfaced - short transfers like directory exports flickered in and out of existence depending on ingest order. Re-propagate a span's progress sources (itself and descendants registered through it) up the chain whenever its parent linkage is established. Signed-off-by: Alex Suraci <[email protected]>
Upload (client to engine): an encapsulated "uploading <path>" span wraps the snapshot sync, with cumulative written bytes streamed from localFS.Sync. Download (engine to client): "downloading <path>" spans in the engine-side senders - fsutil.Send's native progress callback for directory exports, chunk counting for file and reader exports. Emitting engine-side rather than client-side keeps delivery reliable (client telemetry races CLI shutdown) and covers SDK clients too. Totals are unknown for streaming diffs, so the convention's tracker generalizes to an exported snapshots.ProgressTracker: known totals emit a pending state immediately, unknown totals stay silent until bytes move (no-op syncs show nothing) and converge to current on finish. The renderer shows a single unknown-total item as a climbing byte count instead of a bar. File exports know their size up front and render as a 1-D track. The old 5s FilesyncWrittenBytes gauge stays for existing consumers. Signed-off-by: Alex Suraci <[email protected]>
Remote frontends (Dagger Cloud's web UI) build their DB purely from SpanSnapshots; the raw progress log records never reach them. Move Span.Progress into the embedded SpanSnapshot so Snapshot() captures it and ImportSnapshots applies it, following the precedent of other derived state (Failed_, ChildCount, HasLogs). Snapshot() deep-copies the progress so encoders don't observe later mutations of the live span. SpanProgress rebuilds its unexported byName index on demand since gob/JSON only carry Order, and ImportSnapshots keeps locally ingested progress when an incoming snapshot has none. Ancestor ProgressSpans registration already happens in integrateSpan via propagateProgressSpans, so imported snapshots propagate the same way ingested records do. Signed-off-by: Alex Suraci <[email protected]>
Export IngestProgress so servers can fold progress state sourced from storage (not just OTel log records) into the DB. Include progress- carrying spans and their ancestor chains in UpdatedSnapshots, mirroring the revealed-span rule, and mark ancestors updated when they gain a new progress source so the chain linking a deep progress span into the tree is (re-)sent even when no other update would include it. Signed-off-by: Alex Suraci <[email protected]> Signed-off-by: Alex Suraci <[email protected]> Signed-off-by: Alex Suraci <[email protected]>
Rolled-up progress rows rendered every descendant source unconditionally, and the TUI's default verbosity never GCs completed spans, so finished transfers pierced their collapsed ancestors forever — on a large trace they accumulate without bound and dominate the view. Live rendering now skips sources that are no longer running (or whose effects are), so the roll-up reads as an activity surface: bars appear while bytes move and drop out when the transfer completes. Completed transfers remain reachable by expanding the parent, since carrying progress still reveals an encapsulated span in its natural tree position. The final render (and debug mode) keeps every source, preserving the transfer summary in the post-run report; goldens run --progress=report and are unaffected. No invalidation plumbing is needed for the disappearance: an in-flight roll-up row renders a spinner child in the host SpanTreeView, tuist Update() propagation re-renders the host every tick, and the render that drops the row also dismounts the spinner. Verified e2e against a dev engine with the transient-progress viztest: live frames show only the in-flight transfer, the final frame shows both. Signed-off-by: Alex Suraci <[email protected]>
TransientProgress runs a long-lived collapsed "syncing layers" span containing one transfer that completes instantly and one that stays in flight for ~8 seconds, exercising the live roll-up's auto-hide: the completed transfer should drop out of the collapsed ancestor's roll-up while the in-flight one keeps filling. It paces on wall-clock time, so it's meant for live QA rather than a golden. The progress emitter shared with PartialProgress moves to a package-level emitProgress helper. Signed-off-by: Alex Suraci <[email protected]>
Some modules make dozens of sub-second HTTP fetches (apk packages and the like); giving each transfer its own roll-up row drowned both the live view and the final report. Only transfers active for at least a second now earn their own row. Live, an in-flight transfer's row appears once it crosses the threshold, so storms of quick fetches never spam the view. In the final render the slow transfers remain the run's summary while the quick ones fold into a single line such as "1 upload, 38 fetches 0.8s": counts by kind derived from the emitters' leading verb (unknown names count as "transfers"), plus the wall-clock union of the spans' Activity, so parallel transfers don't double-count time. Byte totals are omitted from the merged line for the same reason bars never merge into a parent title: fetch and unpack read the same bytes. A group of one renders as the real row, and debug or spammy verbosity shows every transfer. The threshold compares span-stamped times against the local clock, so a remote engine's clock skew shifts when a row first appears — the same skew every displayed running duration already has. Signed-off-by: Alex Suraci <[email protected]>
TransientProgress now also runs three instantly-completing "fetching
...apk" spans, mimicking a module pulling a pile of packages. Together
with the existing instant transfer and the ~8s in-flight one, the fixture
exercises the full roll-up policy live: quick transfers never appear in
the live view and fold into a single merged line in the final report
("1 transfer, 3 fetches"), while the slow transfer earns its own row in
both.
Signed-off-by: Alex Suraci <[email protected]>
The duration threshold turned out to be the wrong knob: looking at real
traces, completed transfer rows are mostly noise whether they took half
a second or five. Drop both thresholds — in-flight transfers get their
own roll-up row immediately rather than after a second, and completed
ones always fold into the merged summary line ("1 upload, 38 fetches
0.8s"), live and in the final render alike.
The fold is now interactive: "p" toggles the focused row's completed
transfers between the merged line and individual rows, deliberately
distinct from regular tree expansion (which reveals everything beneath
the row, not just transfers). The keymap bar shows a contextual
"expand/collapse transfers" entry, and the merged line carries a faint
"p expand" hint when focused, mirroring the error-origin "r jump" hint.
The toggle state also applies to the final render, so a fold expanded
during the run stays expanded in the report.
Verified interactively against a dev engine: folds render live with
climbing counts, "p" round-trips expansion per row independently, and
the workspace-load row folds its real upload/fetch/unpack transfers.
Signed-off-by: Alex Suraci <[email protected]>
The progress fold pushed renderRowContentRest to cyclomatic complexity 35, over the linter's 30 ceiling. Move the roll-up loop into its own renderProgressRollup method, which also gives the fold policy a single named home next to the row and summary renderers. Signed-off-by: Alex Suraci <[email protected]>
Signed-off-by: Alex Suraci <[email protected]>
Signed-off-by: Alex Suraci <[email protected]>
vito
marked this pull request as ready for review
June 11, 2026 19:12
vito
requested review from
grouville and
sipsma
and removed request for
grouville
June 11, 2026 20:31
Pushes were the one transfer left without progress: pulls, unpacks, git fetches, HTTP downloads, and filesync all stream, but publishing an image showed nothing while layers uploaded. Wrap the registry pusher's content.Writer in the same progressWriter the pull path uses, via a shared wrapProgressWriter helper: layer blobs only (manifests and configs are tiny), a pending state emitted up front, and attribution riding the "pushing <ref>" span already carried by the handler context. Warm pushes — the registry already has the layer, so the pusher returns ErrAlreadyExists before any bytes copy — emit nothing, matching every other warm path. The merged roll-up line learns the "pushing" verb in the TUI so folded pushes count as "2 pushes" rather than "2 transfers". Verified e2e against a dev engine: a cold publish of nginx to ttl.sh renders live per-layer fill under .publish (56 MB/63 MB mid-upload), the completed row folds like any transfer, and a warm re-push under a new tag renders zero progress rows. Signed-off-by: Alex Suraci <[email protected]>
grouville
reviewed
Jun 11, 2026
A completed transfer that failed or was canceled satisfied the fold condition, so it could disappear into the green "✔ 1 pull, 1 fetch …" summary without its span name or failure state. Route failed and canceled sources to their own rows like in-flight ones, via a shared foldableProgressSource predicate also used by the "p" toggle's enablement check. Regression test contributed by @grouville in review. The registry 401 auth-challenge span this PR buries is unaffected: it carries no progress, so it never enters the roll-up. Signed-off-by: Alex Suraci <[email protected]>
`defer resp.Body.Close()` captures the original body at registration, so after resp.Body is replaced with the progress reader, return paths closed the original body directly and never closed the wrapper. No leak — the wrapper's Close chains to the underlying body — and the happy path already emits its final progress state on EOF, but early returns after wrapping (snapshot write errors, checksum mismatches) skipped the wrapper's final emit, leaving up to one throttle interval of bytes unreported. Closing through a closure picks up whatever resp.Body is at exit. The other download path already wrapped before registering its defer. Spotted by @grouville in review. Signed-off-by: Alex Suraci <[email protected]>
grouville
self-requested a review
June 11, 2026 23:18
sipsma
added a commit
that referenced
this pull request
Aug 13, 2026
* fix(telemetry): hide registry HTTP noise in the TUI Registry pulls, resolves, and pushes spawn dozens of low-level HTTP request spans from containerd and otelhttp instrumentation, flooding the TUI when a user expands a container.from call. Mark the pulling, resolving, and pushing spans with Encapsulate so their children are hidden, and stop revealing encapsulated failures when the parent span succeeded: the registry auth dance always begins with a 401 challenge that otherwise renders as a scary failed span. Genuinely failed pulls still reveal the underlying HTTP spans for debugging. Signed-off-by: Alex Suraci <[email protected]> (cherry picked from commit b9cdb66) Signed-off-by: Erik Sipsma <[email protected]> * chore: add v0.21.9 release note for #13410 Signed-off-by: Erik Sipsma <[email protected]> * test: use project deploy tokens for GitLab (#13849) GitLab automatically revokes user PATs when it detects that they were leaked. That is what these private repository tests used, and both tokens were revoked. GitLab does not document the same automatic response for project deploy tokens. Replace the PATs with read-only deploy tokens scoped to the test project. Deploy tokens use a username and token pair, so pass the matching username through each Git authentication path. These credentials are intentionally committed for end-to-end tests. They can only read one disposable test repository, which contains no private code or data, so exposing them does not grant access beyond the test fixture. Keep both credentials in the shared VCS fixture so future rotations happen in one place. The second token is still needed to test two different credentials for the same repository. Signed-off-by: Guillaume de Rouville <[email protected]> (cherry picked from commit 66337ba) Signed-off-by: Erik Sipsma <[email protected]> --------- Signed-off-by: Alex Suraci <[email protected]> Signed-off-by: Erik Sipsma <[email protected]> Signed-off-by: Guillaume de Rouville <[email protected]> Co-authored-by: Alex Suraci <[email protected]> Co-authored-by: Guillaume de Rouville <[email protected]>
This was referenced Aug 31, 2026
social4hyq
pushed a commit
to social4hyq/homebrew-core
that referenced
this pull request
Sep 20, 2026
dagger 0.21.9 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`.<details> <summary>release notes</summary> <pre>## v0.21.9 - 2026-08-25 ### Added - Added SSHFS-backed volumes, allowing remote filesystems to be mounted into containers without copying their contents into Dagger's content store by @sipsma in dagger/dagger#13462 ### Fixed - `Container.withDirectory` and `Directory.withDirectory` no longer restore by @sipsma in dagger/dagger#13848 \ deleted nested files after execs remove and recreate an ancestor directory. - Engine client enumeration no longer blocks behind another session's by @sipsma in dagger/dagger#13542 \ initialization or teardown, preventing Cloud keeper heartbeats from stalling and live engines from being suspended. - Session teardown now runs in the background after the main client disconnects, by @sipsma in dagger/dagger#13681 \ preventing shutdown responses from timing out while the engine releases session-owned cache results. - The engine now bounds retained DAGQL cache metadata independently of disk by @sipsma in dagger/dagger#13846 \ usage by pruning cold persisted results when the structural estimate exceeds its configured limit. This may mitigate metadata growth at scale while preserving active and engine-lifetime cache roots. - Registry protocol probes no longer appear as scary errors in progress output by @vito in dagger/dagger#13410 \ when image pulls or publishes succeed, while genuine registry failures remain visible. - Registry authentication no longer invalidates downstream container cache reuse across sessions when applied before or after `Container.from` by @sipsma in dagger/dagger#13901 ### What to do next? - Read the [documentation](https://docs.dagger.io) - Join our [Discord server](https://discord.gg/dagger-io) - Follow us on [Twitter](https://twitter.com/dagger_io) </pre> <p>View the full release notes at <a href="https://github.com/dagger/dagger/releases/tag/v0.21.9">https://github.com/dagger/dagger/releases/tag/v0.21.9</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!17786
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Image pulls used to render as a giant opaque span that, when expanded, flooded the TUI with dozens of
remotes.docker.resolver.HTTPRequestspans — including a scary-looking "operation failed" span that is actually just the registry's routine 401 auth challenge. None of it told you what was actually happening or how much was left. And pulls were just the worst offender: unpacking, git fetches, HTTP downloads, and filesync transfers showed nothing at all.This PR establishes a streaming-progress convention over OTel logs and adopts it across every transfer the engine performs. Each transfer renders as a labeled progress row attributed to the call that caused it:
Multi-item transfers (image layers) render 2-D: one cell per item, filling bottom-up like a bar chart (
█▃█▂███▂██mid-pull). Single-item transfers with a known total render 1-D: a fixed track filling left-to-right (█████▏░░░░░░ 7.9 MB/18 MB). Unknown totals (filesync's streaming diff) render as a climbing byte count. Fill direction distinguishes the forms at a glance, and block elements leave braille meaning exactly one thing in the UI: span status (spinner + roll-up dots).The registry HTTP noise is gone from the default view, but still revealed when a pull genuinely fails, so debuggability is preserved. Warm paths (cached pulls, 304 revalidations, up-to-date syncs) emit nothing — no rows, no noise.
How
Noise: the
pulling/resolving/pushingspans usetelemetry.Encapsulate(), hiding the containerd/otelhttp HTTP child spans.ShouldShowadditionally stops revealing encapsulated failures under successful parents — that's what buries the 401 auth-challenge span, which always reports an error status despite being protocol-normal.Convention (
engine/telemetryattrs): progress streams as OTel log records carryingdagger.io/progress.item/.current/.total/.unit, keyed by (span, item), latest record wins; emitters throttle (100ms) but always emit the final state. Logs rather than metrics because the engine's metric reader flushes every 5s — too coarse for live progress. Records carry an explicit empty body so every text-log consumer skips them untouched. Shared engine-side helpers live inengine/snapshots:EmitProgress,ProgressTracker(known totals emit a pending state immediately; unknown totals stay silent until bytes move), andNewProgressReader.Emitters:
remotes.FetchHandler; each layer blob streams bytes-written against its descriptor size.content.Writerin the same progress writer (sharedwrapProgressWriterhelper); each layer streams bytes-uploaded inside thepushing <ref>span. Warm pushes (layer already on the registry →ErrAlreadyExistsbefore any copy) emit nothing.diff.WithProgressapply option streams compressed-bytes-read per layer inside anunpacking <ref>span — the decompress/apply phase was ~40% of cold-pull wall time and previously invisible. Deduped layers skip Apply and emit nothing.git fetch --progressplus a stderr parser for the sidebandReceiving objects: N% (cur/total)lines, counting objects (hence theunitattribute) inside afetching <remote>span.fetching <url>span, with Content-Length as the total when present.uploading <path>wraps the client→engine snapshot sync;downloading <path>spans wrap the engine-side export senders (fsutil's native progress callback for directories, chunk counting for files). Emitting engine-side keeps telemetry delivery reliable and covers SDK clients, not just the CLI. The old 5sFilesyncWrittenBytesgauge stays for existing consumers.TUI:
daguifolds progress records into per-span state (never rendering them as log text) and registers progress-carrying spans in every ancestor — re-propagating when spans arrive out of order, since records can beat their span and spans their ancestors. Carrying progress reveals an encapsulated span in its natural tree position; collapsed rows surface their descendants' progress as indented labeled rows, mirroring the error-origin roll-up. In-flight transfers each get their own row with a live bar; completed ones always fold into a single merged line like✔ 1 upload, 38 fetches 0.8s— counts by kind derived from the emitters' verb convention, plus the wall-clock union of the spans'Activity, so parallel transfers don't double-count time (some modules make dozens of sub-second HTTP fetches, which would otherwise drown the view). Thepkeybind toggles the focused row's fold into individual rows, deliberately distinct from tree expansion; the merged line shows a faintp expandhint when focused, and the toggle carries into the final render. Bars and byte totals are never merged (fetch and unpack read the same bytes, so summing would double the apparent size). Progress rows render the status icon, the span name in faint, duration, then the bar and count.pulling/unpackingspan names drop the repo digest and default registry (DisplayRef) since they now serve as row labels.Verification
TestIngestProgressLogs*), exact cell-fill math, the 1-D track, object units, indeterminate counts, and the reveal/roll-up behavior (TestRenderProgress*in idtui), plusDisplayRef.partial-progressviztest emits synthetic never-completing progress; its golden locks exact partial fills — block glyphs escape the braille scrub rule that exists for the nondeterministic roll-up dots, so the fills are pinned for real.engine-dev test-telemetrysuite green with no golden churn beyond the cases above; the only behavioral testdata change from the noise-hiding is the removal of the two HTTP lines..publish(56 MB/63 MB mid-upload), and silent warm paths for all of the above (incl. a warm re-push under a new tag).transient-progressviztest (an instant transfer + three instantfetching ...apktransfers + one ~8s in-flight transfer under a collapsed span): the in-flight transfer renders its own live bar immediately, completed ones fold into✔ 2 transfers, 3 fetches 8.0s, thepkeybind round-trips expansion per row independently, and the workspace-load row folds its real transfers (✔ 1 upload, 1 fetch, 1 unpack 3.1s).TestRenderProgressSpanRowsAutoHideandTestRenderProgressMergedRolluppin the fold, merge text, union duration, andptoggle.Follow-ups (not in this PR)
LogValueFromPBshould tolerate nilAnyValues;LogValueToPBencodes empty bodies as the literal"INVALID"; eventually move thedagger.io/progress.*attrs upstream.Note:
hack/otlpdump(an OTLP-to-JSONL capture tool, documented in thetelemetry-captureskill) stays as a dev tool.🤖 Generated with Claude Code