You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(ssh): preserve successful discovery when the installed-version probe fails #265
Priority: P2. A successful source-streamed SSH list can become an overall failure and lose its discovered sessions when the separate installed-version probe fails.
The listing and remote_installed_version() run inside the same try block. Injecting a successful listing, followed by a probe-only exception, produces exit 1 / ok=false and drops the successful sessions.
What you expected
The installed-version probe is supplementary metadata. Preserve successful discovery even if this second connection or version parsing fails; expose a bounded diagnostic/version-unknown state separately.
macOS arm64, Python 3.13.7; transport/list and secondary probe were mocked.
The coupling also exists in v1.0.2: this is an existing behaviour to improve, not wholly a new 1.0.3 regression. Stricter 1.0.3 probe validation can expose additional failure cases.
No real SSH or remote installation was touched.
Discovery output
Synthetic primary listing returned ok=true with one placeholder session. The final host result after probe failure contained only the error, without that session.
Proposed fix and acceptance criteria
Isolate supplementary version-probe failures from the primary list result.
Activity