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): restore pr 5029 main checks

Louis Beaumont32a6b12a3c08
diff --git a/crates/screenpipe-audio/src/audio_manager/meeting_piggyback.rs b/crates/screenpipe-audio/src/audio_manager/meeting_piggyback.rs
index 431fe9ed8..125be69ae 100644
--- a/crates/screenpipe-audio/src/audio_manager/meeting_piggyback.rs
+++ b/crates/screenpipe-audio/src/audio_manager/meeting_piggyback.rs
@@ -1651,7 +1651,12 @@ mod tests {
);
// Delay elapsed: decider now sees the new set.
assert_eq!(
- delay_retap_pids(&mut candidate, &tap_built, vec![100, 200], t0 + RETAP_DELAY_MS),
+ delay_retap_pids(
+ &mut candidate,
+ &tap_built,
+ vec![100, 200],
+ t0 + RETAP_DELAY_MS
+ ),
vec![100, 200]
);
}
diff --git a/crates/screenpipe-db/tests/close_severs_connections_test.rs b/crates/screenpipe-db/tests/close_severs_connections_test.rs
index 730a15a75..ea37a3642 100644
--- a/crates/screenpipe-db/tests/close_severs_connections_test.rs
+++ b/crates/screenpipe-db/tests/close_severs_connections_test.rs
@@ -28,19 +28,24 @@ fn temp_db_path(tag: &str) -> String {
/// Wait (bounded) for SQLite to unlink the WAL sidecars after the last
/// connection closes. `close()` resolves when the pools are closed; the OS
-/// unlink is immediate after that, but give slower CI a moment.
+/// unlink is usually immediate after that, but Linux CI can lag under load.
async fn assert_wal_sidecars_gone(db_path: &str) {
- for _ in 0..50 {
- let wal = std::path::Path::new(&format!("{db_path}-wal")).exists();
- let shm = std::path::Path::new(&format!("{db_path}-shm")).exists();
+ let wal_path = format!("{db_path}-wal");
+ let shm_path = format!("{db_path}-shm");
+ for _ in 0..200 {
+ let wal = std::path::Path::new(&wal_path).exists();
+ let shm = std::path::Path::new(&shm_path).exists();
if !wal && !shm {
return;
}
tokio::time::sleep(std::time::Duration::from_millis(100)).await;
}
+ let wal = std::path::Path::new(&wal_path).exists();
+ let shm = std::path::Path::new(&shm_path).exists();
panic!(
"-wal/-shm still present after close() — a SQLite connection survived teardown \
- (the exact leak that made the 2026-07-02 wedge unrecoverable in-process)"
+ (the exact leak that made the 2026-07-02 wedge unrecoverable in-process); \
+ wal={wal}, shm={shm}"
);
}