Skip to main content

snapshot_for_broker

Function snapshot_for_broker 

Source
pub async fn snapshot_for_broker(
    workspace_arg: Option<&Path>,
    mode: &str,
) -> Result<WorkspaceSnapshot>
Expand description

Reads one workspace/mode exactly once for SSH broker hashing and execution. The returned bytes are retained by the remote runner until the child starts, so a successful authorization never re-reads mutable files.