Improved stretch_body_server --status and --restart UX by providing more info and removing tail logging.#99
Open
hello-robot-shehab wants to merge 1 commit into
Open
Conversation
…wise restarts the daemon. --daemon and --restart do not tail the log. However, the user can now pass --daemon --print or --restart --print to tail the log. --status now shows the daemon status too. --status now shows the user owning the server.
hello-robot-shehab
requested review from
hello-bharadwaj and
hello-binit
and removed request for
hello-binit
July 14, 2026 22:27
Contributor
Contributor
Author
|
Ah, number 6 should pass with the fix in #100 I believe because it cleans up stop logic. Thank you for testing Brad!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Changes in this PR:
To test
It might be a good idea to pull in PR100's changes before doing this tests too.. If you see commands hanging, it's because of this.
stretch_body_server --daemonand observe that the log is not tailedstretch_body_server --daemon --printand observe that the log is tailedstretch_body_server --statusand observe that the daemon status is printed alongside the normal status. Also the normal status has the owning userstretch_body_server --uninstall_daemonthenstretch_body_server --restartand observe server is launched in the terminal (same as using --launch)stretch_body_server --launchin one terminal, and runstretch_body_server --restartin another terminal and observe the first instance getting killed, while a new one is started in the second terminal.