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(ci): rustfmt health.rs + register zz-audio-fallback-reverify in e2e coverage-map

Louis Beaumontcfd2031b4896
diff --git a/apps/screenpipe-app-tauri/e2e/coverage-map.json b/apps/screenpipe-app-tauri/e2e/coverage-map.json
index 1d373b8ef..6ce24559d 100644
--- a/apps/screenpipe-app-tauri/e2e/coverage-map.json
+++ b/apps/screenpipe-app-tauri/e2e/coverage-map.json
@@ -162,6 +162,16 @@
"ux": "real-user-flow",
"notes": "Opt-in macOS cloud audio fallback seed."
},
+ {
+ "spec": "zz-audio-fallback-reverify.spec.ts",
+ "platforms": ["macos"],
+ "layers": ["auth", "entitlement", "audio-device", "settings"],
+ "features": ["cloud-entitlement-reverify", "audio-engine-fallback", "settings-recording"],
+ "criticality": "high",
+ "confidence": "strong",
+ "ux": "real-user-flow",
+ "notes": "AuthGuard re-verifies cloud entitlement on window focus so a freshly-subscribed user gets cloud transcription without restart (#4339)."
+ },
{
"spec": "chat-composer-isolation.spec.ts",
"platforms": ["windows", "macos", "linux"],
diff --git a/crates/screenpipe-engine/src/routes/health.rs b/crates/screenpipe-engine/src/routes/health.rs
index bc1b4715c..55bc9aa78 100644
--- a/crates/screenpipe-engine/src/routes/health.rs
+++ b/crates/screenpipe-engine/src/routes/health.rs
@@ -948,9 +948,7 @@ async fn health_check_inner(state: &Arc<AppState>) -> HealthCheckResponse {
let (overall_status, message, verbose_instructions, status_code) = if (frame_status == "ok"
|| frame_status == "disabled")
- && (audio_status == "ok"
- || audio_status == "disabled"
- || audio_status == "no_input_device")
+ && (audio_status == "ok" || audio_status == "disabled" || audio_status == "no_input_device")
&& !vision_degraded
&& !audio_degraded
{