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

test: register search-only coverage and refresh SDK locks

Ezra Elletteab89ef7244f4
diff --git a/apps/screenpipe-app-tauri/knip.json b/apps/screenpipe-app-tauri/knip.json
index 3c1c04610..28e2811f5 100644
--- a/apps/screenpipe-app-tauri/knip.json
+++ b/apps/screenpipe-app-tauri/knip.json
@@ -8,6 +8,7 @@
"e2e/specs/**/*.spec.ts",
"e2e/tests/**/*.js",
"e2e/helpers/**/*.ts",
+ "e2e/search-only.e2e.ts",
"e2e/mock-updates/windows-persistence-server.ts",
"e2e/scripts/verify-spotlight-exclusion.ts",
"scripts/timeline-parity-export.ts",
diff --git a/docs/COVERAGE.md b/docs/COVERAGE.md
index dfdc051a5..ab19fc240 100644
--- a/docs/COVERAGE.md
+++ b/docs/COVERAGE.md
@@ -37,16 +37,16 @@ results and `cargo llvm-cov` data on top when judging release confidence.
### Core Engine
- Mapped suites: 36
-- Mapped Rust files: 374
-- Active test blocks: 3692
+- Mapped Rust files: 375
+- Active test blocks: 3694
- Ignored/manual test blocks: 165
-- Weighted coverage points: 3047.5
+- Weighted coverage points: 3048.9
| Platform | Suites | Active tests | Ignored tests | Weighted points | Layers | Flows | Critical score |
| --- | --- | --- | --- | --- | --- | --- | --- |
-| windows | 32 | 3546 | 151 | 2981.2 | 21 | 11 | 100% |
-| macos | 31 | 3585 | 126 | 2978.8 | 22 | 11 | 100% |
-| linux | 28 | 3142 | 126 | 2613.7 | 20 | 11 | 100% |
+| windows | 32 | 3548 | 151 | 2982.6 | 21 | 11 | 100% |
+| macos | 31 | 3587 | 126 | 2980.2 | 22 | 11 | 100% |
+| linux | 28 | 3144 | 126 | 2615.1 | 20 | 11 | 100% |
## Refresh
diff --git a/docs/coverage/CORE.md b/docs/coverage/CORE.md
index 10e51267e..45136fc81 100644
--- a/docs/coverage/CORE.md
+++ b/docs/coverage/CORE.md
@@ -8,11 +8,11 @@ confidence, and criticality.
- Manifest: `docs/coverage/core-engine-map.json`
- Tracked crates: screenpipe-engine, screenpipe-db, screenpipe-sqlite-coordinator, screenpipe-audio, screenpipe-screen, screenpipe-a11y, screenpipe-fs
- Mapped suites: 36
-- Mapped Rust files: 374
-- Active test blocks: 3692
+- Mapped Rust files: 375
+- Active test blocks: 3694
- Ignored/manual test blocks: 165
-- Declared test blocks: 3857
-- Weighted coverage points: 3047.5
+- Declared test blocks: 3859
+- Weighted coverage points: 3048.9
Confidence weights: strong=1.0, partial=0.7, conditional=0.4, smoke=0.3.
Criticality weights: high=1.0, medium=0.7, low=0.4.
@@ -23,15 +23,15 @@ are explicitly enabled in a runtime lane.
| Platform | Suites | Active tests | Ignored tests | Weighted points | Layers | Flows | Critical score |
| --- | --- | --- | --- | --- | --- | --- | --- |
-| windows | 32 | 3546 | 151 | 2981.2 | 21 | 11 | 100% |
-| macos | 31 | 3585 | 126 | 2978.8 | 22 | 11 | 100% |
-| linux | 28 | 3142 | 126 | 2613.7 | 20 | 11 | 100% |
+| windows | 32 | 3548 | 151 | 2982.6 | 21 | 11 | 100% |
+| macos | 31 | 3587 | 126 | 2980.2 | 22 | 11 | 100% |
+| linux | 28 | 3144 | 126 | 2615.1 | 20 | 11 | 100% |
## Crate Summary
| Crate | Suites | Integration files | Source unit files | Active tests | Ignored tests | Weighted points | Flows |
| --- | --- | --- | --- | --- | --- | --- | --- |
-| screenpipe-engine | 12 | 21 | 123 | 1779 | 51 | 1369.1 | 10 |
+| screenpipe-engine | 12 | 21 | 124 | 1781 | 51 | 1370.5 | 10 |
| screenpipe-db | 5 | 63 | 25 | 581 | 25 | 553.1 | 9 |
| screenpipe-sqlite-coordinator | 1 | 0 | 3 | 27 | 0 | 27.0 | 2 |
| screenpipe-audio | 7 | 25 | 53 | 671 | 46 | 587.8 | 5 |
@@ -69,8 +69,8 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| database | 7 suites / 535 active / 21 ignored / 507.1 pts | 7 suites / 535 active / 21 ignored / 507.1 pts | 7 suites / 535 active / 21 ignored / 507.1 pts |
| db-search | 2 suites / 113 active / 9 ignored / 113.0 pts | 2 suites / 113 active / 9 ignored / 113.0 pts | 2 suites / 113 active / 9 ignored / 113.0 pts |
| engine-lifecycle | 6 suites / 247 active / 1 ignored / 222.0 pts | 6 suites / 247 active / 1 ignored / 222.0 pts | 6 suites / 243 active / 9 ignored / 221.1 pts |
-| local-api | 3 suites / 467 active / 10 ignored / 329.3 pts | 3 suites / 467 active / 10 ignored / 329.3 pts | 3 suites / 467 active / 10 ignored / 329.3 pts |
-| meeting | 6 suites / 1675 active / 21 ignored / 1368.4 pts | 6 suites / 1675 active / 21 ignored / 1368.4 pts | 4 suites / 1326 active / 17 ignored / 1043.1 pts |
+| local-api | 3 suites / 469 active / 10 ignored / 330.7 pts | 3 suites / 469 active / 10 ignored / 330.7 pts | 3 suites / 469 active / 10 ignored / 330.7 pts |
+| meeting | 6 suites / 1677 active / 21 ignored / 1369.8 pts | 6 suites / 1677 active / 21 ignored / 1369.8 pts | 4 suites / 1328 active / 17 ignored / 1044.5 pts |
| ocr | 4 suites / 125 active / 7 ignored / 119.0 pts | 4 suites / 129 active / 7 ignored / 124.5 pts | 3 suites / 120 active / 6 ignored / 115.5 pts |
| os-integration | 1 suites / 6 active / 0 ignored / 1.7 pts | 1 suites / 6 active / 0 ignored / 1.7 pts | - |
| performance | 13 suites / 1614 active / 78 ignored / 1427.3 pts | 14 suites / 1722 active / 82 ignored / 1470.5 pts | 13 suites / 1614 active / 78 ignored / 1427.3 pts |
@@ -80,8 +80,8 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| speaker | 2 suites / 383 active / 9 ignored / 383.0 pts | 2 suites / 383 active / 9 ignored / 383.0 pts | 2 suites / 383 active / 9 ignored / 383.0 pts |
| storage | 4 suites / 662 active / 38 ignored / 549.5 pts | 4 suites / 662 active / 38 ignored / 549.5 pts | 4 suites / 662 active / 38 ignored / 549.5 pts |
| sync | 1 suites / 518 active / 3 ignored / 362.6 pts | 1 suites / 518 active / 3 ignored / 362.6 pts | 1 suites / 518 active / 3 ignored / 362.6 pts |
-| timeline | 4 suites / 1205 active / 43 ignored / 986.9 pts | 4 suites / 1205 active / 43 ignored / 986.9 pts | 4 suites / 1205 active / 43 ignored / 986.9 pts |
-| transcription | 6 suites / 862 active / 44 ignored / 675.0 pts | 5 suites / 856 active / 44 ignored / 670.8 pts | 5 suites / 856 active / 44 ignored / 670.8 pts |
+| timeline | 4 suites / 1207 active / 43 ignored / 988.3 pts | 4 suites / 1207 active / 43 ignored / 988.3 pts | 4 suites / 1207 active / 43 ignored / 988.3 pts |
+| transcription | 6 suites / 864 active / 44 ignored / 676.4 pts | 5 suites / 858 active / 44 ignored / 672.2 pts | 5 suites / 858 active / 44 ignored / 672.2 pts |
| ui-events | 4 suites / 784 active / 34 ignored / 594.7 pts | 3 suites / 717 active / 5 ignored / 547.8 pts | 3 suites / 717 active / 5 ignored / 547.8 pts |
| vision-capture | 6 suites / 553 active / 32 ignored / 437.5 pts | 6 suites / 557 active / 32 ignored / 443.0 pts | 5 suites / 548 active / 31 ignored / 434.0 pts |
@@ -135,7 +135,7 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| db-runtime-reliability | screenpipe-db | windows, macos, linux | database, performance | performance-liveness | high | partial | mixed | 16 | 47 | 6 | SQLite hard-fault classification, failpoint VFS injection, fresh-identity recovery verification with integrity/FK/write canaries, query cancellation, close-severs-connections regressions, multi-pool WAL parity, runtime version pinning, and WAL chaos plus memory-pressure probes, plus read-only quarantine self-heal verification for transient IOERR faults. |
| db-search-indexing | screenpipe-db | windows, macos, linux | db-search, ocr, accessibility, performance | local-api-search, capture-ocr-pipeline, accessibility-ui-events, performance-liveness | high | strong | mixed | 13 | 105 | 4 | FTS, tokenizer, OCR snapshot search, query planning, ordering, accessibility search, and contention coverage. |
| db-timeline-frames | screenpipe-db | windows, macos, linux | database, timeline, storage, performance | timeline-streaming, performance-liveness | high | strong | mixed | 36 | 287 | 12 | Frame/audio joins, timeline query shape, suggestions frames, write queue, DB primitives (src/db.rs split into src/db/ modules), feedback record upserts, media eviction anti-join regressions, SAF output registry, semantic storage, and timeline performance. |
-| engine-api-routes | screenpipe-engine | windows, macos, linux | local-api, timeline, meeting, transcription | local-api-search, timeline-streaming, meeting-live-notes, audio-record-transcribe | high | partial | mixed | 41 | 425 | 5 | Route/unit coverage for search, health, streaming, meetings, time/timezone, and transcription. Legacy endpoint/websocket tests require local data and remain ignored. |
+| engine-api-routes | screenpipe-engine | windows, macos, linux | local-api, timeline, meeting, transcription | local-api-search, timeline-streaming, meeting-live-notes, audio-record-transcribe | high | partial | mixed | 42 | 427 | 5 | Route/unit coverage for search, health, streaming, meetings, time/timezone, and transcription. Legacy endpoint/websocket tests require local data and remain ignored. |
| engine-capture-timeline | screenpipe-engine | windows, macos, linux | vision-capture, timeline, storage, performance | capture-ocr-pipeline, timeline-streaming, performance-liveness | high | partial | mixed | 25 | 302 | 26 | Covers capture trigger logic, frame/audio linking, hot cache, timeline refresh regressions, fragmented MP4 extraction, and HD-mode control. Several real-data tests are intentionally ignored by default. |
| engine-config-lifecycle | screenpipe-engine | windows, macos, linux | configuration, engine-lifecycle, performance | settings-to-engine-config, engine-health-lifecycle, performance-liveness | high | strong | mixed | 12 | 116 | 1 | Fast logic coverage for the config bridge, health-endpoint identity, tray health debounce, sleep/power policies, and queue backpressure. |
| engine-db-recovery-cli | screenpipe-engine | windows, macos, linux | database, engine-lifecycle | engine-health-lifecycle, performance-liveness | high | strong | unit | 1 | 29 | 0 | Exact DB/WAL/SHM working-copy preservation, rollback on archive failure, and restart repair for crashes during the multi-file generation swap. |
@@ -467,6 +467,7 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| engine-workflows | screenpipe-engine | src/routes/workflow_pipeline.rs | source | 4 | 0 | 4 |
| engine-workflows | screenpipe-engine | src/routes/workflows.rs | source | 3 | 0 | 3 |
| engine-config-lifecycle | screenpipe-engine | src/schedule_monitor.rs | source | 8 | 0 | 8 |
+| engine-api-routes | screenpipe-engine | src/search_only.rs | source | 2 | 0 | 2 |
| engine-capture-timeline | screenpipe-engine | src/semantic_worker.rs | source | 12 | 0 | 12 |
| engine-api-routes | screenpipe-engine | src/server.rs | source | 13 | 0 | 13 |
| engine-config-lifecycle | screenpipe-engine | src/sleep_monitor.rs | source | 11 | 1 | 12 |
diff --git a/docs/coverage/core-engine-map.json b/docs/coverage/core-engine-map.json
index 7ac580462..a9cf0c810 100644
--- a/docs/coverage/core-engine-map.json
+++ b/docs/coverage/core-engine-map.json
@@ -342,6 +342,7 @@
"src/routes/time.rs",
"src/routes/timezone.rs",
"src/routes/websocket.rs",
+ "src/search_only.rs",
"src/server.rs",
"tests/router_contract_test.rs",
"tests/tags_test.rs",
diff --git a/packages/sdk/Cargo.lock b/packages/sdk/Cargo.lock
index 31439fc0f..8bc45d5bb 100644
--- a/packages/sdk/Cargo.lock
+++ b/packages/sdk/Cargo.lock
@@ -6975,6 +6975,7 @@ dependencies = [
"screenpipe-cpu-features",
"screenpipe-events",
"screenpipe-fs",
+ "screenpipe-resource",
"serde",
"serde_json",
"serde_yaml",
diff --git a/packages/sdk/examples/tauri-app/src-tauri/Cargo.lock b/packages/sdk/examples/tauri-app/src-tauri/Cargo.lock
index 0f205c8f2..be267fd10 100644
--- a/packages/sdk/examples/tauri-app/src-tauri/Cargo.lock
+++ b/packages/sdk/examples/tauri-app/src-tauri/Cargo.lock
@@ -7101,6 +7101,7 @@ dependencies = [
"screenpipe-cpu-features",
"screenpipe-events",
"screenpipe-fs",
+ "screenpipe-resource",
"serde",
"serde_json",
"serde_yaml",