Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

[Backport release-0.7] driver-ssh: SSHWrapperClient.run return stdout and stderr#784

Merged
mangelajo merged 3 commits intorelease-0.7from
backport-748-to-release-0.7
Dec 22, 2025
Merged

[Backport release-0.7] driver-ssh: SSHWrapperClient.run return stdout and stderr#784
mangelajo merged 3 commits intorelease-0.7from
backport-748-to-release-0.7

Conversation

@jumpstarter-backport-bot
Copy link

Bot-based backport to release-0.7, triggered by a label in #748.

Add SSHCommandExecResult to wrap the subprocess SSH command
return and use it as return type for SSHWrapperClient.run,
so that the output of the command can be inspected after
the call.

Signed-off-by: Albert Esteve <aesteve@redhat.com>
(cherry picked from commit 20d48c4)
Add SSHCommandRunOptions class and modify the run
method signature to use it. This will make it easier
to change the options before having to change the
signature in the future.

Signed-off-by: Albert Esteve <aesteve@redhat.com>
(cherry picked from commit 9b4e636)
Change logging formatting to use %-formatting
so that formatting is deferred until the log
is printed [1].

[1]
https://pylint.readthedocs.io/en/latest/user_guide/messages/warning/logging-fstring-interpolation.html

Signed-off-by: Albert Esteve <aesteve@redhat.com>
(cherry picked from commit 627d1fc)
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 22, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@mangelajo mangelajo enabled auto-merge December 22, 2025 16:12
@mangelajo mangelajo merged commit bd07a7b into release-0.7 Dec 22, 2025
14 checks passed
@mangelajo mangelajo deleted the backport-748-to-release-0.7 branch December 22, 2025 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants