Skip to main content

compose_health

Function compose_health 

Source
pub fn compose_health(
    engine: &mut Engine,
    args: &HealthArgs<'_>,
    drift_warnings: Vec<WarningHint>,
    config: &HealthConfig,
) -> Result<Value, ComposeHealthError>
Expand description

Build the complete health payload. drift_warnings are the reload warnings the wrapper collected before calling in; the composer extends them with the health report’s own warnings, the limit-clamp notice, and unknown-include notices, then embeds the lot under warnings.