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

Bump app to v2.5.115 - release-app

Louis Beaumonte6b4ac28aa38
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index 25b79af38..2fd180019 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -10939,7 +10939,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.5.114"
+version = "2.5.115"
dependencies = [
"aes 0.8.4",
"aes-gcm 0.10.3",
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 2a2224cbf..c17cbbeec 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "screenpipe-app"
-version = "2.5.114"
+version = "2.5.115"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/crates/screenpipe-db/tests/db.rs b/crates/screenpipe-db/tests/db.rs
index 57840445e..0eba3f044 100644
--- a/crates/screenpipe-db/tests/db.rs
+++ b/crates/screenpipe-db/tests/db.rs
@@ -2438,6 +2438,17 @@ mod tests {
// tx is dropped here without commit — should rollback
}
+ // Dropping ImmediateTx schedules its rollback asynchronously. A subsequent
+ // serialized write is the completion barrier: the rollback task holds the
+ // write permit until the transaction is rolled back and its connection is
+ // returned to the pool. This matters for the shared-cache in-memory test DB,
+ // where reading sooner can race the rollback and return SQLITE_LOCKED_SHAREDCACHE.
+ let id = db
+ .insert_audio_chunk("pool_health_0.mp4", None)
+ .await
+ .unwrap();
+ assert!(id > 0, "Pool should be healthy after rollback");
+
// Verify the uncommitted row was rolled back
let row: (i64,) = sqlx::query_as(
"SELECT COUNT(*) FROM audio_chunks WHERE file_path = 'should_not_exist.mp4'",
@@ -2449,7 +2460,7 @@ mod tests {
// Verify the pool is still healthy — we can acquire connections and do work.
// If the connection was leaked (detached), the pool would eventually exhaust.
- for i in 0..5 {
+ for i in 1..5 {
let id = db
.insert_audio_chunk(&format!("pool_health_{}.mp4", i), None)
.await
diff --git a/ee/sdk/recorder-core/src/platform/recorder.rs b/ee/sdk/recorder-core/src/platform/recorder.rs
index 2078e3b41..893beacc6 100644
--- a/ee/sdk/recorder-core/src/platform/recorder.rs
+++ b/ee/sdk/recorder-core/src/platform/recorder.rs
@@ -1182,11 +1182,15 @@ mod tests {
// tools that rely on `.mp4` still recognize the file.
assert_eq!(
derive_mp4_output_path("/tmp/session.mp4", 1, true),
- "/tmp/session-monitor-1.mp4"
+ std::path::Path::new("/tmp")
+ .join("session-monitor-1.mp4")
+ .to_string_lossy()
);
assert_eq!(
derive_mp4_output_path("/tmp/session.mp4", 2, true),
- "/tmp/session-monitor-2.mp4"
+ std::path::Path::new("/tmp")
+ .join("session-monitor-2.mp4")
+ .to_string_lossy()
);
}
@@ -1208,7 +1212,9 @@ mod tests {
// `session-monitor-1.` (trailing dot).
assert_eq!(
derive_mp4_output_path("/tmp/session", 1, true),
- "/tmp/session-monitor-1.mp4"
+ std::path::Path::new("/tmp")
+ .join("session-monitor-1.mp4")
+ .to_string_lossy()
);
}