Skip to main content

collect_manifest_errors

Function collect_manifest_errors 

Source
pub fn collect_manifest_errors<F>(
    services_config: &ServicesConfig,
    is_cloud: bool,
    resolve: F,
) -> Vec<ValidationError>
where F: Fn(&str) -> Result<(), String>,
Expand description

Resolve every enabled Internal MCP deployment against resolve and collect a ValidationError for each binary whose manifest cannot be located.

External servers (reached at their endpoint) and, on cloud, dev_only servers are skipped. resolve maps a deployment binary to Ok(()) when its manifest exists or Err(reason) otherwise; the serve boot path binds it to the extension registry, tests bind a stub so the branch matrix is drivable without a manifest tree.