Skip to content

dashboard: say why an ended entry run fetched nothing #2753

Closed

Description

@thiras

Follow-up to #2752 (#2638).

Today. An entry URI written to a file (decdn get decdn:<hash>/<path> -o FILE) runs the bundle path. ActivityRecorder::finish (crates/cli/src/commands/activity.rs) drops its BundleCounts, because PullKind::Entry carries no counts. An entry run that finds its file already on disk ends done with 0 B downloaded, 0 B resumed and nothing else on the row. That is the row #2638 fixed for a bundle: "Done, 0 B" reads as a run that did nothing, not one that skipped its file. The same applies to an entry the filter could not keep, or one whose whole file came from disk. The latter does show + N reused, but gives no entry outcome.

Ask. Give the ended row of an entry run its one outcome: fetched, skipped, reused, failed, or not run. Two ways:

  • carry the entry's counts on PullKind::Entry, the way Bundle carries them, and render them with countParts (crates/cli/dashboard/src/view.ts);
  • or carry a single outcome field, which fits one entry better.

Done when

  • An ended entry run that skipped its file says so on the page.
  • A view test covers a skip-only entry run.

🤖 Generated with Claude Code

Activity

  1. self-assigned this
    on Oct 29, 2026
  2. added
    kind:feature
    area:cli
    prio:low
    on Oct 29, 2026
  3. assigned and unassigned on Oct 29, 2026
  4. moved this from Backlog to In progress in deCDNon Oct 29, 2026
  5. moved this from In progress to Done in deCDNon Oct 29, 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:featureprio:low

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions