Skip to content

feat(hypervisor): add TUI for monitoring workers and update dependencies #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 25, 2025

Conversation

0x5457
Copy link
Collaborator

@0x5457 0x5457 commented Jul 24, 2025

  • Introduced a new command show-tui-workers to display a TUI for monitoring worker states.
  • Added a new module tui_workers to handle the TUI logic.
  • Updated Cargo.toml to include dependencies on ratatui, crossterm, and glob.
  • Enhanced the worker registration process to support TUI functionality.
image

0x5457 and others added 4 commits July 24, 2025 23:01
- Introduced a new command `show-tui-workers` to display a TUI for monitoring worker states.
- Added a new module `tui_workers` to handle the TUI logic.
- Updated `Cargo.toml` to include dependencies on `ratatui`, `crossterm`, and `glob`.
- Enhanced the worker registration process to support TUI functionality.
- Added a new `log_path` argument to `ShowTuiWorkersArgs` for specifying the log file location.
- Updated the logging initialization to accept a custom log path.
- Modified the `get_fmt_layer` function to support optional log path configuration.
- Replaced `ref_count`, `last_heartbeat`, and `device_count` in `WorkerInfo` with a `devices` vector containing detailed `DeviceInfo`.
- Modified `read_worker_info` to populate the new `devices` field with active device details.
- Updated TUI display to show device-specific information, including UUID, core availability, memory usage, and health status.
- Enhanced table layout for better readability of worker and device data.
@0x5457 0x5457 requested a review from Code2Life July 24, 2025 16:10
- Removed UUID truncation logic from the TUI display for devices, now showing the full UUID.
- Updated table column constraints for better layout and consistency in the TUI display.
@0x5457 0x5457 merged commit 32d06dd into main Jul 25, 2025
15 checks passed
@0x5457 0x5457 deleted the feat/show-tui-workers branch July 25, 2025 15:21
Copy link

🎉 This PR is included in version 1.30.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant