Skip to main content

run

Function run 

Source
pub fn run(
    json: bool,
    skip_mount: bool,
    data_path_override: Option<PathBuf>,
    libtorch_path_override: Option<PathBuf>,
    via_docker: Option<String>,
) -> i32
Expand description

Run the probe.

Single-host (no active env overlay): probes the local box and emits one report. --data-path overrides config; --skip-mount short-circuits the shared-data check.

Cluster (fdl @cluster probe / FDL_ENV=cluster): loads fdl.<env>.yml’s cluster.workers: list. For each host: if it’s the local host, probes in-process; otherwise SSHes to it and runs <worker.path>/target/release/fdl probe --json remotely. Per-host JSON is parsed back into ProbeReport and aggregated.

Exit code: 0 when every probed host is green; 1 when any host raised issues.