Skip to content

Conversation

@cgwalters
Copy link
Collaborator

It was not a useful abstraction in the end, just remove it.

While here, also extend a comment with rationale for why we sleep.

It was not a useful abstraction in the end, just remove it.

While here, also extend a comment with rationale for why we
sleep.

Signed-off-by: Colin Walters <[email protected]>
Copy link
Contributor

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

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 successfully removes the Task abstraction, simplifying the codebase by using std::process::Command directly. The rationale for sleeping after initiating a reboot is now clearly documented, which is a great improvement. I've identified one minor issue regarding stdin handling that has changed from the previous implementation. Addressing this will make the code more robust.

@cgwalters cgwalters enabled auto-merge August 1, 2025 11:23
@cgwalters cgwalters requested a review from jmarrero August 1, 2025 14:56
Copy link
Contributor

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

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

lgtm

@cgwalters cgwalters merged commit 21d41c1 into bootc-dev:main Aug 1, 2025
27 checks passed
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.

2 participants