mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-12 06:10:44 +01:00
Two observability follow-ups for sandbox/SSH sync progress: - Emit a terminal "failed at NN% (x/y MB)" marker when an SSH/tar transfer rejects, so a failed sync leaves an explicit marker instead of a dangling intermediate percentage. Adds reporter.fail() + TransferProgress.fail() wired into the rejection path of every SSH transfer (sync, restore, git import/export). - Run the SSH size estimate (local dir walk / remote du probe) concurrently with the transfer instead of awaiting it before opening the pipe; the counter reports MB-only until the estimate resolves, then adopts the percentage, and finish() awaits it so the terminal 100% line is still guaranteed. Removes startup latency proportional to workspace file count. Co-Authored-By: Paperclip <noreply@paperclip.ing>