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(telemetry): filter localized macOS TCC capture-denial from Sentry (CLI-WH) (#4615)
Louis Beaumont2de07ff501a6
diff --git a/crates/screenpipe-engine/src/bin/screenpipe-engine.rs b/crates/screenpipe-engine/src/bin/screenpipe-engine.rsindex e0b02a4b5..6236b2f42 100644--- a/crates/screenpipe-engine/src/bin/screenpipe-engine.rs+++ b/crates/screenpipe-engine/src/bin/screenpipe-engine.rs@@ -499,6 +499,16 @@ async fn main() -> anyhow::Result<()> {// app holding the device exclusively) refuses capture;// retrying can't clear it, so it's not an actionable bug.r"backend-specific error has occurred: Access is denied",+ // device_monitor's periodic capture-device check failing with an+ // OS backend error — overwhelmingly a denied macOS TCC permission+ // (screen/audio capture), which the OS reports in the user's+ // LOCALE, so the English "Screen recording permission denied"+ // pattern above misses it (CLI-WH: 1 user / 126 events, a+ // Japanese TCC-denied string). The check re-runs each cycle, so a+ // standing denial floods Sentry. Matching the English wrapper+ // prefix catches every locale; device-check backend errors+ // (permission, unplugged) are user-environment, not our bug.+ r"device check error: A backend-specific error has occurred",// Local DB corruption — user dropped/restored part of their db.sqliter"no such table: main\.speaker_embeddings",// Concurrent DB access / user ran CLI while app was running