fix: make my_hypervisor non-critical when binary absent #111

Closed
zaelgohary wants to merge 1 commit from development_fix_my_hypervisor_noncritical into development
Member

Summary

The Compute dashboard fires a red 'Critical service(s) unavailable.' banner on any host without my_hypervisor on PATH. Dev machines don't host VMs and shouldn't be banner-spammed.

Closes #110

Changes

  • crates/hero_compute_admin/src/server.rs:681: critical flag for the my_hypervisor row is now hyp_ok || Path::new("/usr/local/bin/my_hypervisor").exists(). Dev hosts (no binary) no longer flag it as critical; production hosts (binary present but doctor failing) still do.

Test Results

Rebuilt and deployed on herodev. Pre-fix /status returned critical: true for my_hypervisor; post-fix returns critical: false. Browser-side Compute island no longer shows the red banner.

## Summary The Compute dashboard fires a red 'Critical service(s) unavailable.' banner on any host without `my_hypervisor` on PATH. Dev machines don't host VMs and shouldn't be banner-spammed. ## Related Issue Closes #110 ## Changes - `crates/hero_compute_admin/src/server.rs:681`: critical flag for the my_hypervisor row is now `hyp_ok || Path::new("/usr/local/bin/my_hypervisor").exists()`. Dev hosts (no binary) no longer flag it as critical; production hosts (binary present but doctor failing) still do. ## Test Results Rebuilt and deployed on herodev. Pre-fix `/status` returned `critical: true` for my_hypervisor; post-fix returns `critical: false`. Browser-side Compute island no longer shows the red banner.
fix: make my_hypervisor non-critical when binary absent
All checks were successful
Test / test (pull_request) Successful in 2m52s
74dec5fdc2
Closes #110
Owner

Please don't merge this one, the hypervisor is the core thing to have the compute running

Please don't merge this one, the hypervisor is the core thing to have the compute running
mahmoud closed this pull request 2026-05-13 08:39:39 +00:00
mahmoud deleted branch development_fix_my_hypervisor_noncritical 2026-05-13 08:39:44 +00:00
All checks were successful
Test / test (pull_request) Successful in 2m52s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_compute!111
No description provided.