Files
PaperClipAI/packages
Devin FoleyandPaperclip 27cf7ea634 fix(adapter-utils): mark failed SSH syncs and unblock the pipe on size estimate
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>
2026-06-20 12:49:32 -07:00
..