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

fix(ci): unbreak test-ubuntu and the coverage gate after #6230

Louis Beaumont8826dbda83f6
diff --git a/COVERAGE.md b/COVERAGE.md
index f594c8985..8308f1ec0 100644
--- a/COVERAGE.md
+++ b/COVERAGE.md
@@ -32,15 +32,15 @@ results and `cargo llvm-cov` data on top when judging release confidence.
- Mapped suites: 32
- Mapped Rust files: 321
-- Active test blocks: 3084
+- Active test blocks: 3086
- Ignored/manual test blocks: 137
-- Weighted coverage points: 2540.2
+- Weighted coverage points: 2541.6
| Platform | Suites | Active tests | Ignored tests | Weighted points | Layers | Flows | Critical score |
| --- | --- | --- | --- | --- | --- | --- | --- |
-| windows | 29 | 2953 | 132 | 2480.2 | 21 | 11 | 100% |
-| macos | 29 | 3006 | 112 | 2490.6 | 22 | 11 | 100% |
-| linux | 25 | 2629 | 105 | 2187.0 | 20 | 11 | 100% |
+| windows | 29 | 2955 | 132 | 2481.6 | 21 | 11 | 100% |
+| macos | 29 | 3008 | 112 | 2492.0 | 22 | 11 | 100% |
+| linux | 25 | 2631 | 105 | 2188.4 | 20 | 11 | 100% |
## Refresh
diff --git a/crates/screenpipe-db/tests/accessibility_late_materialization_test.rs b/crates/screenpipe-db/tests/accessibility_late_materialization_test.rs
index dc7ace9a1..146d42d2a 100644
--- a/crates/screenpipe-db/tests/accessibility_late_materialization_test.rs
+++ b/crates/screenpipe-db/tests/accessibility_late_materialization_test.rs
@@ -87,7 +87,8 @@ async fn common_term_page_matches_legacy_query() {
COALESCE(vc.file_path, '') AS file_path,
COALESCE(f.offset_index, 0) AS offset_index,
f.name AS frame_name,
- f.browser_url
+ f.browser_url,
+ f.capture_trigger
FROM frames f
LEFT JOIN video_chunks vc ON f.video_chunk_id = vc.id
JOIN frames_fts ON f.id = frames_fts.rowid
@@ -115,6 +116,7 @@ async fn common_term_page_matches_legacy_query() {
assert_eq!(actual.file_path, expected.file_path);
assert_eq!(actual.frame_name, expected.frame_name);
assert_eq!(actual.browser_url, expected.browser_url);
+ assert_eq!(actual.capture_trigger, expected.capture_trigger);
}
}
diff --git a/docs/coverage/CORE.md b/docs/coverage/CORE.md
index 66826f930..c9bf3ea0f 100644
--- a/docs/coverage/CORE.md
+++ b/docs/coverage/CORE.md
@@ -9,10 +9,10 @@ confidence, and criticality.
- Tracked crates: screenpipe-engine, screenpipe-db, screenpipe-sqlite-coordinator, screenpipe-audio, screenpipe-screen, screenpipe-a11y
- Mapped suites: 32
- Mapped Rust files: 321
-- Active test blocks: 3084
+- Active test blocks: 3086
- Ignored/manual test blocks: 137
-- Declared test blocks: 3221
-- Weighted coverage points: 2540.2
+- Declared test blocks: 3223
+- Weighted coverage points: 2541.6
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 | 29 | 2953 | 132 | 2480.2 | 21 | 11 | 100% |
-| macos | 29 | 3006 | 112 | 2490.6 | 22 | 11 | 100% |
-| linux | 25 | 2629 | 105 | 2187.0 | 20 | 11 | 100% |
+| windows | 29 | 2955 | 132 | 2481.6 | 21 | 11 | 100% |
+| macos | 29 | 3008 | 112 | 2492.0 | 22 | 11 | 100% |
+| linux | 25 | 2631 | 105 | 2188.4 | 20 | 11 | 100% |
## Crate Summary
| Crate | Suites | Integration files | Source unit files | Active tests | Ignored tests | Weighted points | Flows |
| --- | --- | --- | --- | --- | --- | --- | --- |
-| screenpipe-engine | 10 | 18 | 102 | 1455 | 42 | 1117.4 | 10 |
+| screenpipe-engine | 10 | 18 | 102 | 1457 | 42 | 1118.8 | 10 |
| screenpipe-db | 5 | 52 | 14 | 447 | 16 | 424.2 | 9 |
| screenpipe-sqlite-coordinator | 1 | 0 | 2 | 16 | 0 | 16.0 | 2 |
| screenpipe-audio | 6 | 25 | 51 | 591 | 43 | 517.4 | 5 |
@@ -68,21 +68,21 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| database | 6 suites / 366 active / 12 ignored / 343.2 pts | 6 suites / 366 active / 12 ignored / 343.2 pts | 6 suites / 366 active / 12 ignored / 343.2 pts |
| db-search | 2 suites / 111 active / 9 ignored / 111.0 pts | 2 suites / 111 active / 9 ignored / 111.0 pts | 2 suites / 111 active / 9 ignored / 111.0 pts |
| engine-lifecycle | 6 suites / 208 active / 1 ignored / 183.6 pts | 6 suites / 208 active / 1 ignored / 183.6 pts | 5 suites / 202 active / 1 ignored / 181.9 pts |
-| local-api | 2 suites / 326 active / 9 ignored / 230.0 pts | 2 suites / 326 active / 9 ignored / 230.0 pts | 2 suites / 326 active / 9 ignored / 230.0 pts |
-| meeting | 6 suites / 1418 active / 19 ignored / 1160.9 pts | 6 suites / 1418 active / 19 ignored / 1160.9 pts | 4 suites / 1130 active / 15 ignored / 895.4 pts |
+| local-api | 2 suites / 327 active / 9 ignored / 230.7 pts | 2 suites / 327 active / 9 ignored / 230.7 pts | 2 suites / 327 active / 9 ignored / 230.7 pts |
+| meeting | 6 suites / 1419 active / 19 ignored / 1161.6 pts | 6 suites / 1419 active / 19 ignored / 1161.6 pts | 4 suites / 1131 active / 15 ignored / 896.1 pts |
| ocr | 4 suites / 124 active / 7 ignored / 118.3 pts | 4 suites / 128 active / 7 ignored / 123.8 pts | 3 suites / 119 active / 6 ignored / 114.8 pts |
| os-integration | 1 suites / 6 active / 0 ignored / 1.7 pts | 1 suites / 6 active / 0 ignored / 1.7 pts | - |
-| performance | 13 suites / 1375 active / 67 ignored / 1212.6 pts | 14 suites / 1473 active / 70 ignored / 1251.8 pts | 13 suites / 1375 active / 67 ignored / 1212.6 pts |
+| performance | 13 suites / 1376 active / 67 ignored / 1213.3 pts | 14 suites / 1474 active / 70 ignored / 1252.5 pts | 13 suites / 1376 active / 67 ignored / 1213.3 pts |
| pipes | 1 suites / 462 active / 3 ignored / 323.4 pts | 1 suites / 462 active / 3 ignored / 323.4 pts | 1 suites / 462 active / 3 ignored / 323.4 pts |
| privacy | 5 suites / 871 active / 36 ignored / 707.5 pts | 5 suites / 920 active / 16 ignored / 712.4 pts | 5 suites / 846 active / 14 ignored / 685.0 pts |
| real-app | - | 1 suites / 98 active / 3 ignored / 39.2 pts | - |
| speaker | 2 suites / 348 active / 8 ignored / 348.0 pts | 2 suites / 348 active / 8 ignored / 348.0 pts | 2 suites / 348 active / 8 ignored / 348.0 pts |
-| storage | 3 suites / 475 active / 29 ignored / 385.0 pts | 3 suites / 475 active / 29 ignored / 385.0 pts | 3 suites / 475 active / 29 ignored / 385.0 pts |
+| storage | 3 suites / 476 active / 29 ignored / 385.7 pts | 3 suites / 476 active / 29 ignored / 385.7 pts | 3 suites / 476 active / 29 ignored / 385.7 pts |
| sync | 1 suites / 462 active / 3 ignored / 323.4 pts | 1 suites / 462 active / 3 ignored / 323.4 pts | 1 suites / 462 active / 3 ignored / 323.4 pts |
-| timeline | 4 suites / 934 active / 33 ignored / 759.4 pts | 4 suites / 934 active / 33 ignored / 759.4 pts | 4 suites / 934 active / 33 ignored / 759.4 pts |
-| transcription | 5 suites / 699 active / 40 ignored / 551.9 pts | 5 suites / 699 active / 40 ignored / 551.9 pts | 5 suites / 699 active / 40 ignored / 551.9 pts |
+| timeline | 4 suites / 936 active / 33 ignored / 760.8 pts | 4 suites / 936 active / 33 ignored / 760.8 pts | 4 suites / 936 active / 33 ignored / 760.8 pts |
+| transcription | 5 suites / 700 active / 40 ignored / 552.6 pts | 5 suites / 700 active / 40 ignored / 552.6 pts | 5 suites / 700 active / 40 ignored / 552.6 pts |
| ui-events | 4 suites / 701 active / 28 ignored / 533.9 pts | 3 suites / 652 active / 5 ignored / 499.6 pts | 3 suites / 652 active / 5 ignored / 499.6 pts |
-| vision-capture | 5 suites / 494 active / 32 ignored / 391.3 pts | 5 suites / 498 active / 32 ignored / 396.8 pts | 4 suites / 489 active / 31 ignored / 387.8 pts |
+| vision-capture | 5 suites / 495 active / 32 ignored / 392.0 pts | 5 suites / 499 active / 32 ignored / 397.5 pts | 4 suites / 490 active / 31 ignored / 388.5 pts |
## Critical Flow Matrix
@@ -133,8 +133,8 @@ 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 | 13 | 30 | 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 | 18 | 175 | 3 | 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 | 31 | 320 | 4 | 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 | 23 | 262 | 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-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 | 31 | 321 | 4 | 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 | 23 | 263 | 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 | 11 | 111 | 1 | Fast logic coverage for the config bridge, 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 | 8 | 0 | Exact DB/WAL/SHM working-copy preservation, rollback on archive failure, and restart repair for crashes during the multi-file generation swap. |
| engine-focus-os | screenpipe-engine | windows, macos | engine-lifecycle, os-integration | engine-health-lifecycle, performance-liveness | medium | conditional | unit | 3 | 6 | 0 | Platform focus-tracker parsing/helpers. These files are cfg-gated and only execute on their target OS. |
@@ -353,7 +353,7 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| engine-telemetry-observability | screenpipe-engine | src/crash_log.rs | source | 4 | 0 | 4 |
| engine-retention-storage | screenpipe-engine | src/disk_pressure.rs | source | 11 | 0 | 11 |
| engine-meeting-privacy-sync | screenpipe-engine | src/drm_detector.rs | source | 19 | 2 | 21 |
-| engine-capture-timeline | screenpipe-engine | src/event_driven_capture.rs | source | 82 | 0 | 82 |
+| engine-capture-timeline | screenpipe-engine | src/event_driven_capture.rs | source | 83 | 0 | 83 |
| engine-meeting-privacy-sync | screenpipe-engine | src/external_memory_sync.rs | source | 10 | 0 | 10 |
| engine-capture-timeline | screenpipe-engine | src/focus_aware_controller.rs | source | 14 | 0 | 14 |
| engine-focus-os | screenpipe-engine | src/focus_tracker/darwin.rs | source | 3 | 0 | 3 |
@@ -406,7 +406,7 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| engine-api-routes | screenpipe-engine | src/routes/request_origin.rs | source | 1 | 0 | 1 |
| engine-api-routes | screenpipe-engine | src/routes/response_format.rs | source | 6 | 0 | 6 |
| engine-api-routes | screenpipe-engine | src/routes/retranscribe.rs | source | 3 | 0 | 3 |
-| engine-api-routes | screenpipe-engine | src/routes/search.rs | source | 24 | 0 | 24 |
+| engine-api-routes | screenpipe-engine | src/routes/search.rs | source | 25 | 0 | 25 |
| engine-api-routes | screenpipe-engine | src/routes/semantic.rs | source | 2 | 0 | 2 |
| engine-api-routes | screenpipe-engine | src/routes/speakers.rs | source | 4 | 0 | 4 |
| engine-api-routes | screenpipe-engine | src/routes/streaming.rs | source | 15 | 0 | 15 |