You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cli: interrupt resume hint does not name the directory when -o is omitted #2473
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
fix(cli): name the resume directory on a give-up and for a relative -o (
fix(cli): name the resume directory when a get stops (#2473) (#2531)