Skip to content

Improve guest command handling#19

Merged
lacraig2 merged 4 commits into
mainfrom
guest-command-console-warning
May 26, 2026
Merged

Improve guest command handling#19
lacraig2 merged 4 commits into
mainfrom
guest-command-console-warning

Conversation

@lacraig2

@lacraig2 lacraig2 commented May 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • prepend /igloo/utils to guest command PATH in the host client
  • move long-command warning into the guesthopper daemon so it appears on /dev/ttyS0
  • warn only once per guesthopper daemon process
  • harden Python client socket discovery, protocol validation, JSON decoding, and CLI error handling
  • run the Python client unittest suite in pull request CI
  • commit Cargo.lock and use the Docker Hub toolchain image so CI resolves crates compatible with rustc 1.71.1

Testing

  • python3 -m unittest discover -s tests
  • python3 -m py_compile guest_cmd.py tests/test_guest_cmd.py
  • git diff --check
  • docker run --rm -v $PWD:/app -w /app rehosting/embedded-toolchains_rust:latest bash -lc 'rustc --version && CARGO_TARGET_DIR=/tmp/guesthopper-target cargo check --locked'

@lacraig2 lacraig2 changed the title Warn about long guest commands on the guest console Improve guest command handling May 26, 2026
@lacraig2 lacraig2 merged commit 7849568 into main May 26, 2026
1 check passed
@lacraig2 lacraig2 deleted the guest-command-console-warning branch May 26, 2026 03:29
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