Skip to content

Add detached reboot for deploy/uninstall to prevent timeouts - #67

Merged
jamesyc merged 1 commit into
mainfrom
async-reboot
Apr 29, 2026
Merged

jamesyc merged 1 commit into
mainfrom
async-reboot

Conversation

@jamesyc

@jamesyc jamesyc commented Apr 29, 2026

Copy link
Copy Markdown
Owner

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a standardized remote_request_reboot function to handle device reboots using a detached background command. This change is integrated into the deployment and uninstallation CLI flows, and the dry run output now includes details about the reboot request. Feedback was provided regarding the error handling in remote_request_reboot, noting that using check=False might cause the CLI to ignore SSH connection failures and wait indefinitely for a reboot that was never successfully triggered.

Comment thread src/timecapsulesmb/deploy/executor.py
@jamesyc
jamesyc merged commit 41f6b37 into main Apr 29, 2026
4 checks passed
@jamesyc
jamesyc deleted the async-reboot branch April 29, 2026 06:04
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