Repository navigation
Conversation
|
Caution Review failedAn error occurred during the review process. Please try again later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
|
Caution Review failedAn error occurred during the review process. Please try again later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: Orca <help@stably.ai>
|
Caution Review failedAn error occurred during the review process. Please try again later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
|
Caution Review failedAn error occurred during the review process. Please try again later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Orca <help@stably.ai>
…n't inherit them node-pty 1.1.0's forkpty() spawn path never applies FD_CLOEXEC to the returned master (only O_NONBLOCK), and the macOS posix_spawn path opens the master with plain posix_openpt(O_RDWR). Every later child spawned by the same process through a non-fd-closing path can inherit earlier terminals' masters — reproduced on a relay host where a later PTY child held an earlier PTY's ptmx fd. Leaked masters keep dead sessions' PTY objects alive and can break EOF/hangup semantics for other sessions' children (stablyai#8362). Upstream fixed only the child side, only on Linux, and only in 1.2.0 betas; the parent-side master stays inheritable even there. Extend Orca's node-pty patch with a pty_cloexec helper applied to the master after forkpty() (parent branch) and after posix_openpt() in the posix_spawn path. The same patched source flows into the bundled relay runtime artifacts (stablyai#8741 pipeline), which is what carries the fix to remote relay hosts that today npm-install stock node-pty. Verified on macOS after a native rebuild: PTY spawn/IO/exit still work, and a second PTY's child holds zero ptmx fds. Fixes stablyai#8362 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
SSH still works: Orca connects to the host over SSH and routes workspace operations through the managed remote Orca server (orcad). These merges remove the legacy SSH relay, not SSH support. Closing as obsolete after the merged SSH relay retirement in #27214 and #27215. This PR concerns SSH relay runtime deployment and its native dependency bootstrap. #27214 removed the desktop relay connection/fallback path; #27215 deleted the SSH relay server, deployment assets, and relay-only tests. SSH hosts now use the managed Orca server (orcad), and unsupported hosts fail explicitly, so this relay-specific work is no longer planned. This closes the proposed relay implementation; it does not claim that any independent local, WSL, or managed-server behavior was fixed. |
Scope
Work Package 2 for #8450: target-native relay runtime assembly and artifact verification only.
node-ptyagainst the bundled Node headerstar.xzSafety boundary
This PR does not connect a desktop resolver, cache, SSH transfer/install path, fallback state machine, target setting, or production launch path. It publishes no GitHub Release and enables no tuple. Existing relay behavior remains the default.
The eventual bundled path remains a per-SSH-target Beta opt-in, default off; any default-on change requires separate review and completed evidence gates.
Local evidence
pnpm run typecheckpnpm run lintExact commands, hashes, timings, resource observations, and residual gaps are in the living implementation checklist.
Open gates
GitHub native POSIX runner results, oldest-baseline checks, macOS native trust/signing, Windows runtime/zip, SSH transfer, relay RPC conformance, cancellation/resource metrics, and all tuple-enablement/default-path gates remain open.
Made with Orca 🐋