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

chore(ci): mark heavy_read tests #[ignore] — require real ~/.screenpipe/db.sqlite

Louis Beaumontbd9e839cc9a2
diff --git a/crates/screenpipe-db/tests/heavy_read_test.rs b/crates/screenpipe-db/tests/heavy_read_test.rs
index ee33b8415..ff508283e 100644
--- a/crates/screenpipe-db/tests/heavy_read_test.rs
+++ b/crates/screenpipe-db/tests/heavy_read_test.rs
@@ -34,7 +34,12 @@ async fn open_real_db() -> Arc<DatabaseManager> {
/// (like obsidian-sync + toggl-sync + count queries all at once).
/// With the semaphore, only 2 should run at a time, and writes should
/// still go through.
+///
+/// Requires the real production DB at `~/.screenpipe/db.sqlite` — ignored
+/// in CI where that doesn't exist. Run locally with:
+/// cargo test -p screenpipe-db --test heavy_read_test -- --ignored --nocapture
#[tokio::test]
+#[ignore = "requires real ~/.screenpipe/db.sqlite"]
async fn test_concurrent_ocr_searches_dont_starve_pool() {
let db = open_real_db().await;
let now = Utc::now();
@@ -131,7 +136,10 @@ async fn test_concurrent_ocr_searches_dont_starve_pool() {
/// Test that the 30s timeout on search would fire for pathologically slow queries.
/// We simulate this by running a search with no time bounds on the full DB.
+///
+/// Requires the real production DB — ignored in CI (see sibling test).
#[tokio::test]
+#[ignore = "requires real ~/.screenpipe/db.sqlite"]
async fn test_search_completes_within_timeout() {
let db = open_real_db().await;
let now = Utc::now();