Skip to content

cli: interrupt resume hint does not name the directory when -o is omitted #2473

Closed

Description

@thiras

Problem

An interrupted decdn get prints interrupted; run the same command again to resume (crates/cli/src/commands/interrupt.rs:104). Since #2466, -o is optional, so the command line no longer records where the .partial, .partial.ranges and .decdn-partial/ state lives: it is the current directory.

If the user re-runs the identical command from another directory (for example, a new terminal that opens in ~), the pull starts from zero:

  • it pays again for bytes already bought;
  • it leaves orphan partials in the first directory;
  • it gives no warning, because warn_leftover_partials only scans the new root.

#2466 prints the absolute destination in Downloading to …, which helps if the user scrolls back. The interrupt hint still does not name the directory.

Possible fix

When -o was omitted, have the interrupt hint name the directory, e.g. interrupted; run the same command again from /abs/dir to resume (or suggest -o /abs/dir). The blob route and the bundle route both reach this hint.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clikind:feature

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions