Skip to content

Add supervisor process manager UI#496

Merged
kvinwang merged 1 commit intomasterfrom
supervisor-ui
Feb 7, 2026
Merged

Add supervisor process manager UI#496
kvinwang merged 1 commit intomasterfrom
supervisor-ui

Conversation

@kvinwang
Copy link
Collaborator

@kvinwang kvinwang commented Feb 7, 2026

Summary

  • Add a supervisor process manager page accessible from the top-right hamburger menu
  • Shows all supervisor processes with name, ID, status, PID, and action buttons (Stop/Remove)
  • Auto-refreshes every 3 seconds while the overlay is open
  • "Clear Stopped" button removes only non-running processes (not a blanket clear)
  • Backend uses proper pRPC methods (SvList/SvStop/SvRemove) so the API appears in the auto-generated OpenAPI schema

Changed files

  • vmm/rpc/proto/vmm_rpc.proto — Add SvList, SvStop, SvRemove RPC methods and SvProcessInfo message
  • vmm/src/main_service.rs — Implement the three supervisor RPC methods
  • vmm/src/main_routes.rs — Remove hand-crafted REST supervisor routes
  • vmm/ui/src/templates/app.html — Add menu item and process manager overlay
  • vmm/ui/src/composables/useVmManager.ts — Add process manager logic using pRPC
  • vmm/ui/src/styles/main.css — Add process manager styles
  • vmm/src/console_v1.html — Rebuilt UI artifact

Depends on

Test plan

  • cargo fmt and cargo clippy pass
  • UI builds successfully
  • Open process manager from menu, verify processes are listed
  • Stop a running process, verify status updates after refresh
  • Remove a stopped process, verify it disappears
  • "Clear Stopped" removes only non-running processes

Add a process manager page accessible from the top-right menu that
shows all supervisor processes with their status, PID, and controls
to stop/remove individual processes or clear all stopped ones.

Backend: Add SvList/SvStop/SvRemove RPC methods to the Vmm protobuf
service so the API is included in the auto-generated OpenAPI schema.

Frontend: Full-screen overlay with auto-refreshing process table,
status badges, and action buttons.
@kvinwang kvinwang merged commit 7ad3460 into master Feb 7, 2026
11 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.

1 participant