pub fn read_telemetry_json(result: &Path) -> Result<TelemetryRecord, String>Expand description
Reads and decodes the telemetry.json member of a result .zip. Mirrors
crate::helpers’s read_cortex_log: the pure-Rust zip crate’s random-access by_name
seeks straight to telemetry.json via the central directory, never decompressing the
(potentially large) converted output. Returns the decoded record, or an Err describing why it
couldn’t (a non-zip / corrupt archive, a missing telemetry.json, or invalid JSON) — the caller
counts that as a skipped sample rather than failing the whole aggregation.