Skip to content

Preserve Net::SSH channel open failures - #582

Open
OskarEichler wants to merge 1 commit into
capistrano:masterfrom
OskarEichler:codex/preserve-channel-open-failure
Open

Preserve Net::SSH channel open failures#582
OskarEichler wants to merge 1 commit into
capistrano:masterfrom
OskarEichler:codex/preserve-channel-open-failure

Conversation

@OskarEichler

Copy link
Copy Markdown

Remove the empty on_open_failed handler so Net::SSH can propagate its default ChannelOpenFailed exception. The current no-op handler suppresses the transport failure and can make a command appear to finish without opening a channel.

Dual-Ruby focused models reproduce suppression before and propagation after. The unchanged suite passes 218 tests /3,411 assertions; syntax, package and Rails integration pass. No real SSH endpoint or repository-test change.

@OskarEichler
OskarEichler force-pushed the codex/preserve-channel-open-failure branch from 7073a57 to 68382cb Compare August 30, 2026 10:39
@OskarEichler
OskarEichler force-pushed the codex/preserve-channel-open-failure branch from 68382cb to 80cd3cf Compare August 30, 2026 12:37
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