From 0f491b00ef971b49f024d4341c8c309065871772 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 1 Oct 2026 12:12:36 +0200 Subject: [PATCH] huginn-mind: iterate the envelope slice in the read-back census Co-Authored-By: Claude Sonnet 5.5 --- crates/huginn-mind/src/mind.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/huginn-mind/src/mind.rs b/crates/huginn-mind/src/mind.rs index 4287f5f..619471e 100644 --- a/crates/huginn-mind/src/mind.rs +++ b/crates/huginn-mind/src/mind.rs @@ -797,6 +797,7 @@ mod tests { // The census is taken apart from the loop that checks each document. let pipeline_envelopes = mind .envelopes() + .iter() .filter(|envelope| PipelineKind::ALL.iter().any(|kind| kind.type_id() == envelope.r#type)) .count(); assert!(pipeline_envelopes > 0, "the snapshot held no pipeline document");