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(updates): add diagnostic logging for updater (version, identifier, endpoints) + fix duplicate boot check
Louis Beaumontfb73083a8d4e
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/updates.rs b/apps/screenpipe-app-tauri/src-tauri/src/updates.rsindex 7777e01a1..e9f5cb5ad 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/updates.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/updates.rs@@ -406,14 +406,26 @@ impl UpdatesManager {error!("Failed to update all pipes: {}", err);}- info!("checking for updates via Tauri updater...");+ let current_version = self.app.package_info().version.to_string();+ let product_name = self.app.package_info().name.clone();+ info!(+ "checking for updates via Tauri updater... (app={}, version={}, identifier={})",+ product_name,+ current_version,+ self.app.config().identifier+ );let check_result = self.app.updater()?.check().await;match &check_result {Ok(Some(ref u)) => {info!("update found: v{}", u.version);}Ok(None) => {- info!("updater returned None — no update available (current app thinks it's up to date)");+ info!(+ "updater returned None — no update available (current v{}, endpoints: {:?})",+ current_version,+ self.app.config().plugins.0.get("updater")+ .and_then(|u| u.get("endpoints"))+ );}Err(ref e) => {error!("updater check() error: {}", e);@@ -682,6 +694,8 @@ impl UpdatesManager {pub async fn start_periodic_event(&self) {let mut interval = interval(self.interval);+ // Skip the first tick (fires immediately) — boot check already runs separately+ interval.tick().await;loop {interval.tick().await;