Skip to content

fix: backgrounded tunnel no longer holds the caller's output open - #2

Merged
ditahkk merged 2 commits into
mainfrom
fix/tunnel-stdio
Nov 6, 2026
Merged

ditahkk merged 2 commits into
mainfrom
fix/tunnel-stdio

Conversation

@ditahkk

@ditahkk ditahkk commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Part of Runzivo/rzv-platform#146

ssh -f (and the rzv ProxyCommand under it) inherited the helper's stdout/stderr, so any pipe reading rzv-openhands-backend up output never reached EOF. The shared backend e2e hung after a successful up (tunnel and /health were fine). The tunnel now runs with </dev/null >/dev/null 2>>$STATE/<id>.tunnel.log, down removes that log, and the e2e filters with grep --line-buffered.

ssh -f kept the stdout and stderr of rzv-openhands-backend, so a pipe
reading its output (the backend e2e's grep | tee) never ended after up
succeeded. Redirect the tunnel's stdio; its messages go to
<state>/<sandbox-id>.tunnel.log. The e2e filters with --line-buffered.

Signed-off-by: Ditah Kumbong <ditah.kumbong@runzivo.dev>
…onnect

Signed-off-by: Ditah Kumbong <ditah.kumbong@runzivo.dev>
@ditahkk
ditahkk merged commit 57ae519 into main Nov 6, 2026
1 check passed
@ditahkk
ditahkk deleted the fix/tunnel-stdio branch November 6, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant