Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: add missing profile_index field in meeting_detector tests

Louis Beaumont4af9c737a02b
diff --git a/crates/screenpipe-engine/src/meeting_detector.rs b/crates/screenpipe-engine/src/meeting_detector.rs
index 4b6be4145..7da2eb94f 100644
--- a/crates/screenpipe-engine/src/meeting_detector.rs
+++ b/crates/screenpipe-engine/src/meeting_detector.rs
@@ -3250,6 +3250,7 @@ mod tests {
// Only 1 signal found — below the threshold of 2
let results = vec![ScanResult {
app_name: "zoom.us".to_string(),
+ profile_index: 0,
is_in_call: false, // 1 signal < min_signals_required(2) = not in call
signals_found: 1,
matched_signals: vec!["menu_bar_item=Meeting".to_string()],
@@ -3269,6 +3270,7 @@ mod tests {
let state = MeetingState::Idle;
let results = vec![ScanResult {
app_name: "zoom.us".to_string(),
+ profile_index: 0,
is_in_call: true, // 2 signals >= min_signals_required(2) = in call
signals_found: 2,
matched_signals: vec![