Skip to main content

is_sandbox_unavailable_exit

Function is_sandbox_unavailable_exit 

Source
pub(crate) fn is_sandbox_unavailable_exit(code: i32) -> bool
Expand description

Whether a host exit is the one that says “the browser sandbox is blocked by system policy and nobody can answer the dialog” (agentmux_common::process::HOST_EXIT_SANDBOX_UNAVAILABLE, set by agentmux-cef for a start made from an agent’s environment). The same stop would come again at every relaunch, so the supervisor ends with that code at once instead of spending its crash budget on it.