Skip to content

docs(audits): evaluate async I/O for SSH transport path (#1593, #1411) - #3720

Merged
oferchen merged 1 commit into
masterfrom
docs/ssh-transport-async-1593
May 5, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/ssh-transport-async-1593

Conversation

@oferchen

@oferchen oferchen commented May 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Static-analysis audit at docs/audits/ssh-transport-async-evaluation.md evaluating whether crates/rsync_io/src/ssh/ and crates/core/src/client/remote/ should be restructured around an async runtime.
  • Maps every spawn, pipe, and I/O site in both the subprocess path (default) and the russh-embedded path (behind embedded-ssh feature) with file:LINE citations.
  • Lays out the sync/async bridge problem at the engine boundary, the stdio-vs-socketpair-vs-russh tradeoff, and the implicit-vs-explicit backpressure picture (Refine CI workflows and expand packaging coverage #1892).
  • Recommendation: keep the subprocess path sync; keep the embedded path's tokio runtime as-is; defer adoption of a runtime for the subprocess path until at least one of four falsifiable criteria trips.

Test plan

Static analysis of whether the SSH transport path warrants an async
runtime. Maps every spawn, pipe, and I/O site in the subprocess and
russh-embedded paths; lays out where async helps (multi-host fan-out,
runtime co-location) versus where it does not (KEX, auth, single
transfer); and gives four falsifiable decision criteria for
adopting a runtime in the subprocess path.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 5, 2026
@oferchen
oferchen merged commit 1bc84d4 into master May 5, 2026
8 checks passed
@oferchen
oferchen deleted the docs/ssh-transport-async-1593 branch May 6, 2026 18:56
oferchen added a commit that referenced this pull request May 18, 2026
#3720)

Static analysis of whether the SSH transport path warrants an async
runtime. Maps every spawn, pipe, and I/O site in the subprocess and
russh-embedded paths; lays out where async helps (multi-host fan-out,
runtime co-location) versus where it does not (KEX, auth, single
transfer); and gives four falsifiable decision criteria for
adopting a runtime in the subprocess path.
oferchen added a commit that referenced this pull request Aug 24, 2026
#3720)

Static analysis of whether the SSH transport path warrants an async
runtime. Maps every spawn, pipe, and I/O site in the subprocess and
russh-embedded paths; lays out where async helps (multi-host fan-out,
runtime co-location) versus where it does not (KEX, auth, single
transfer); and gives four falsifiable decision criteria for
adopting a runtime in the subprocess path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant