Skip to main content

preflight_check

Function preflight_check 

Source
pub fn preflight_check(args: &PreFlightArgs<'_>) -> Result<(), PreFlightError>
Expand description

Returns Ok(()) when all checks pass, or the first failing variant.

Short-circuits on first failure to give operators a single actionable diagnostic. When SQLITE_GRAPHRAG_SKIP_PREFLIGHT=1 is set, returns Ok(()) unconditionally after logging a warning (emergency escape hatch).