Skip to main content

RuntimeCoverageAnalyzer

Type Alias RuntimeCoverageAnalyzer 

Source
pub type RuntimeCoverageAnalyzer<'a> = dyn Fn(&RuntimeCoverageOptions, RuntimeCoverageSeamInput<'_>) -> Result<RuntimeCoverageReport, u8> + 'a;
Expand description

Runtime coverage analysis seam.

Runtime coverage execution drives the closed-source fallow-cov sidecar (license verification, subprocess spawning), which stays in the CLI. The engine calls this callback only when HealthExecutionOptions::runtime_coverage is set, so the default and programmatic paths never touch it.

The seam prints its own errors (license / sidecar diagnostics), so it returns the already-printed exit code as a bare u8. The engine wraps that code in HealthError::Printed so the CLI boundary honors the code without emitting a second error document.