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): make E2E reliably green — quarantine racy prefill spec + Windows advisory (#4652)

Louis Beaumontfd2d1da8a42f
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index 0d7306081..9b96fe328 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -23,7 +23,13 @@ jobs:
windows-e2e-test:
name: Windows E2E Tests
runs-on: windows-2022
- timeout-minutes: 90
+ # ADVISORY (non-blocking): on the slow Windows runners the build + 58-spec
+ # suite exceeds the time budget, so "Run E2E Tests" was killed by the timeout
+ # on every run — Windows E2E has never completed and thus never gated. Keep it
+ # running for signal but don't let it block green until it's sharded/sped up
+ # (tracked in #4650). macOS + Linux remain the required E2E gates.
+ continue-on-error: true
+ timeout-minutes: 120
steps:
- uses: actions/checkout@v4
diff --git a/apps/screenpipe-app-tauri/e2e/coverage-map.json b/apps/screenpipe-app-tauri/e2e/coverage-map.json
index 28777a4a1..552ce1c07 100644
--- a/apps/screenpipe-app-tauri/e2e/coverage-map.json
+++ b/apps/screenpipe-app-tauri/e2e/coverage-map.json
@@ -230,7 +230,7 @@
"criticality": "medium",
"confidence": "partial",
"ux": "synthetic",
- "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)."
+ "notes": "QUARANTINED (#4610): cross-window prefill duplicate regression. The autoSend persist precondition is racy in CI — times out with 0 conversations (not the duplicate=2 it guards) ~100% Linux + ~33% macOS. Re-enable once it seeds the persisted conversation deterministically."
},
{
"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 30b26c6c7..9fbc041d2 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
@@ -112,19 +112,17 @@ async function emitUntargetedAutoSendPrefill(prompt: string): Promise<void> {
);
}
-describe("Chat prefill cross-window duplication", function () {
+// QUARANTINED (#4610): the autoSend→pi→auto-save persist precondition (a
+// conversation must reach disk before we can count it) is racy in CI — it
+// times out with "no conversation persisted" (0 conversations, NOT the
+// duplicate=2 it guards against) ~100% on Linux AND ~33% on macOS. So it's
+// CI-hostile on every platform, not just Linux. Re-enable once the test seeds
+// the persisted conversation deterministically instead of depending on a live
+// model/streaming round-trip.
+describe.skip("Chat prefill cross-window duplication", function () {
this.timeout(180_000);
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 —