mxc
mxc copied to clipboard
Availability APIs do not say why a backend is unavailable
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,
unavailableReasonsalso 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.