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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: always record preset failures in circuit breaker
Louis Beaumont43df06b8d998
diff --git a/crates/screenpipe-core/src/pipes/mod.rs b/crates/screenpipe-core/src/pipes/mod.rsindex 119cbd103..a3a90854a 100644--- a/crates/screenpipe-core/src/pipes/mod.rs+++ b/crates/screenpipe-core/src/pipes/mod.rs@@ -1937,12 +1937,13 @@ impl PipeManager {let _ = store.upsert_scheduler_state(name, output.success).await;}- // Update circuit breaker state+ // Update circuit breaker state — always record failures+ // even with a single preset, so the breaker is pre-tripped+ // when the user adds a fallback preset later.if let Some(ref pid) = active_preset_id {if output.success {self.fallback_registry.record_success(pid);- } else if config.preset.len() > 1 {- // Only record failure for fallback if multiple presets configured+ } else {self.fallback_registry.record_failure_from_output(pid,&output.stderr,