Skip to content

Keep inherited SSH options dynamic - #577

Open
OskarEichler wants to merge 1 commit into
capistrano:masterfrom
OskarEichler:codex/dynamic-inherited-ssh-options
Open

Keep inherited SSH options dynamic#577
OskarEichler wants to merge 1 commit into
capistrano:masterfrom
OskarEichler:codex/dynamic-inherited-ssh-options

Conversation

@OskarEichler

Copy link
Copy Markdown

Build effective connection options per checkout instead of mutating Host#ssh_options with current globals. The mutation freezes inherited defaults after the first connection, so later global configuration changes no longer propagate.

The merge order remains host connection fields, global defaults, then explicit host overrides. Dual-Ruby models cover propagation and precedence; 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/dynamic-inherited-ssh-options branch from f30f1ec to d8af5e4 Compare August 30, 2026 10:38
@OskarEichler
OskarEichler force-pushed the codex/dynamic-inherited-ssh-options branch from d8af5e4 to 0905a4d 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