Skip to main content

run_remote

Function run_remote 

Source
pub(crate) async fn run_remote(
    state: &AppState,
    who: &str,
    req: UpdateRequest,
) -> Result<Value, (StatusCode, String)>
Expand description

update for an agent on another machine (remote_ops::agent_ops): the same checks and change a local call has, recorded under who (slug@machine). A caller from another machine is nobody’s leader, so it cannot raise a spend cap.