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: CRT linker mismatch for Tauri app tests + move bun test to core
Louis Beaumont441b72f4067b
diff --git a/Cargo.lock b/Cargo.lockindex 9e448e344..315caffc6 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -6641,7 +6641,7 @@ dependencies = [[[package]]name = "screenpipe-audio"-version = "0.3.137"+version = "0.3.138"dependencies = ["anyhow","bytemuck",@@ -6694,7 +6694,7 @@ dependencies = [[[package]]name = "screenpipe-core"-version = "0.3.137"+version = "0.3.138"dependencies = ["accessibility","accessibility-sys",@@ -6745,7 +6745,7 @@ dependencies = [[[package]]name = "screenpipe-db"-version = "0.3.137"+version = "0.3.138"dependencies = ["anyhow","chrono",@@ -6769,7 +6769,7 @@ dependencies = [[[package]]name = "screenpipe-events"-version = "0.3.137"+version = "0.3.138"dependencies = ["anyhow","chrono",@@ -6787,7 +6787,7 @@ dependencies = [[[package]]name = "screenpipe-integrations"-version = "0.3.137"+version = "0.3.138"dependencies = ["anyhow","image",@@ -6802,7 +6802,7 @@ dependencies = [[[package]]name = "screenpipe-server"-version = "0.3.137"+version = "0.3.138"dependencies = ["anyhow","async-trait",@@ -6873,7 +6873,7 @@ dependencies = [[[package]]name = "screenpipe-vision"-version = "0.3.137"+version = "0.3.138"dependencies = ["accessibility-sys","anyhow",diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lockindex 843c530fb..356400b5b 100755--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -9007,7 +9007,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "2.0.356"+version = "2.0.357"dependencies = ["anyhow","async-stream",diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 3c6e0e9dc..aeea13871 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -199,5 +199,8 @@ incremental = true[profile.dev]opt-level = 0+[profile.dev.build-override]+debug-assertions = false+[profile.dev.package."*"]opt-level = 2diff --git a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs b/apps/screenpipe-app-tauri/src-tauri/src/pi.rsindex 6bac4dd12..7a008e3e8 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs@@ -929,22 +929,4 @@ mod tests {assert_eq!(result, Some("C:\\Users\\npm\\pi.cmd".to_string()));}- /// Test that find_bun_executable checks the exe directory (bundled bun)- #[test]- fn test_find_bun_checks_exe_dir() {- use super::find_bun_executable;- // On the installed app, bun.exe lives next to screenpipe-app.exe- // in AppData/Local/screenpipe/. This test verifies the function- // at least runs without panicking and checks the exe dir first.- let result = find_bun_executable();- // We can't guarantee bun exists in CI, but we verify no panic- // and that if it IS found, the path is valid- if let Some(ref path) = result {- assert!(- std::path::Path::new(path).exists(),- "find_bun_executable returned non-existent path: {}",- path- );- }- }}diff --git a/crates/screenpipe-core/src/pipes.rs b/crates/screenpipe-core/src/pipes.rsindex b0b23f823..4fd419520 100644--- a/crates/screenpipe-core/src/pipes.rs+++ b/crates/screenpipe-core/src/pipes.rs@@ -1869,3 +1869,22 @@ pub async fn download_pipe_private(info!("pipe downloaded and set up successfully at: {:?}", dest_dir);Ok(dest_dir)}++#[cfg(test)]+mod tests {+ use super::find_bun_path;++ /// Test that find_bun_path checks the exe directory first (bundled bun)+ /// and returns a valid path if bun is found.+ #[test]+ fn test_find_bun_checks_exe_dir() {+ let result = find_bun_path();+ if let Some(ref path) = result {+ assert!(+ path.exists(),+ "find_bun_path returned non-existent path: {}",+ path.display()+ );+ }+ }+}