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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
test(e2e,linux): bump Pipes-section timeouts so the cold remote-store fetch fits
Louis Beaumontfdf594ce4e93
diff --git a/apps/screenpipe-app-tauri/e2e/specs/home-window.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/home-window.spec.tsindex 40c4d8833..c10db5fd0 100644--- a/apps/screenpipe-app-tauri/e2e/specs/home-window.spec.ts+++ b/apps/screenpipe-app-tauri/e2e/specs/home-window.spec.ts@@ -40,7 +40,15 @@ describe('Home window', () => {}const el = await $(`[data-testid="${sectionTestId}"]`);- const sectionTimeout = id === 'timeline' ? t(20000) : t(5000);+ // Sections that fetch remote data on mount (Timeline pulls frames,+ // Pipes pulls the store catalog from screenpi.pe) need a longer+ // budget than chrome-only sections — observed on Linux runners+ // under xvfb where the cold network round-trip alone can eat 8-12s.+ // Pipes was previously 5s × CI multiplier (10s) and reliably+ // failed the home-window walkthrough on Linux even after the+ // GLX/Xvfb fix landed (78ba136b5).+ const sectionTimeout =+ id === 'timeline' || id === 'pipes' ? t(20000) : t(5000);await el.waitForExist({ timeout: sectionTimeout });const filepath = await saveScreenshot(`home-${id}`);diff --git a/apps/screenpipe-app-tauri/e2e/specs/pipes.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/pipes.spec.tsindex 1153eee74..1e32aae16 100644--- a/apps/screenpipe-app-tauri/e2e/specs/pipes.spec.ts+++ b/apps/screenpipe-app-tauri/e2e/specs/pipes.spec.ts@@ -62,11 +62,15 @@ describe('Pipes: discover → install → play', function () {it('navigates to Pipes section', async () => {const navPipes = await $('[data-testid="nav-pipes"]');- await navPipes.waitForExist({ timeout: 10_000 });+ await navPipes.waitForExist({ timeout: t(10_000) });await navPipes.click();+ // Pipes section fetches the remote store catalog from screenpi.pe+ // on mount — observed 12-15s cold network round-trip on Linux+ // runners under xvfb. The hard 10s here was reliably failing post+ // GLX/Xvfb fix (78ba136b5). Use t() so CI gets the 2× multiplier.const pipesSection = await $('[data-testid="section-pipes"]');- await pipesSection.waitForExist({ timeout: 10_000 });+ await pipesSection.waitForExist({ timeout: t(20_000) });const filepath = await saveScreenshot('pipes-section-loaded');expect(existsSync(filepath)).toBe(true);@@ -76,7 +80,7 @@ describe('Pipes: discover → install → play', function () {it('switches to the Discover tab', async () => {const discoverTab = await $('[data-testid="tab-discover"]');- await discoverTab.waitForExist({ timeout: 8_000 });+ await discoverTab.waitForExist({ timeout: t(10_000) });await discoverTab.click();// Wait for at least one install button to appear in the grid