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(e2e): scope chat-prefill-duplicate to macOS-only (consistent Linux CI failure) (#4649)

Louis Beaumont09e85834bd28
diff --git a/apps/screenpipe-app-tauri/e2e/coverage-map.json b/apps/screenpipe-app-tauri/e2e/coverage-map.json
index cfdd1d830..28777a4a1 100644
--- a/apps/screenpipe-app-tauri/e2e/coverage-map.json
+++ b/apps/screenpipe-app-tauri/e2e/coverage-map.json
@@ -224,13 +224,13 @@
},
{
"spec": "chat-prefill-duplicate.spec.ts",
- "platforms": ["windows", "macos", "linux"],
+ "platforms": ["macos"],
"layers": ["chat-ai"],
"features": ["chat", "chat-prefill"],
"criticality": "medium",
"confidence": "partial",
"ux": "synthetic",
- "notes": "Cross-window prefill duplicate regression."
+ "notes": "Cross-window prefill duplicate regression. macOS-only: the autoSend persist precondition doesn't complete in headless Linux/Windows CI (times out with 0 conversations, not the duplicate it guards)."
},
{
"spec": "chat-prefill-context-leak.spec.ts",
diff --git a/apps/screenpipe-app-tauri/e2e/specs/chat-prefill-duplicate.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/chat-prefill-duplicate.spec.ts
index 3f98903fe..30b26c6c7 100644
--- a/apps/screenpipe-app-tauri/e2e/specs/chat-prefill-duplicate.spec.ts
+++ b/apps/screenpipe-app-tauri/e2e/specs/chat-prefill-duplicate.spec.ts
@@ -115,7 +115,16 @@ async function emitUntargetedAutoSendPrefill(prompt: string): Promise<void> {
describe("Chat prefill cross-window duplication", function () {
this.timeout(180_000);
- before(async () => {
+ before(async function () {
+ // macOS-only: the autoSend→pi→auto-save persist precondition (a conversation
+ // must reach disk before we can count it) does not complete reliably in
+ // headless Linux/Windows CI, so this consistently times out with "no
+ // conversation persisted" — 0 conversations, NOT the duplicate (2) it guards
+ // against. macOS runs the full path. Mirrors the other macOS-only chat specs
+ // (chat-streaming-performance, chat-within-session-context-loss).
+ if (process.platform !== "darwin") {
+ this.skip();
+ }
await waitForAppReady();
await openHomeWindow();
// Open the chat overlay so BOTH windows have a live prefill listener —