mxc icon indicating copy to clipboard operation
mxc copied to clipboard

Availability APIs do not say why a backend is unavailable

Open adpa-ms opened this issue 1 week ago • 0 comments

Description of the new feature / enhancement

MXC's availability APIs do not say why a backend is unavailable. #1684 is one case: wxc-exec --probe reported isolationSessionAvailable: false, with no reason, on one of two PCs running the same Windows build.

  • Backend discovery (available_backends, GetAvailableBackends, getAvailableBackends) omits unavailable backends.
  • Platform support gives a reason only when no backend is available. In Node, unavailableReasons also covers LXC and Bubblewrap, and Windows probe or discovery failures.
  • The request probe, including wxc-exec --probe, reports IsolationSession and Hyperlight availability as booleans.

Without a reason, a caller cannot tell whether the cause is something it can change, such as the calling process's sign-in or how MXC was built, or the device itself.

adpa-ms avatar Nov 19 '26 23:11 adpa-ms