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
fix(e2e): add missing coverage-map entry + retry transient ffmpeg/tesseract HTTP errors (#4641)
Louis Beaumontdc6af24d2565
diff --git a/apps/screenpipe-app-tauri/e2e/coverage-map.json b/apps/screenpipe-app-tauri/e2e/coverage-map.jsonindex ed1c10441..cfdd1d830 100644--- a/apps/screenpipe-app-tauri/e2e/coverage-map.json+++ b/apps/screenpipe-app-tauri/e2e/coverage-map.json@@ -232,6 +232,16 @@"ux": "synthetic","notes": "Cross-window prefill duplicate regression."},+ {+ "spec": "chat-prefill-context-leak.spec.ts",+ "platforms": ["windows", "macos", "linux"],+ "layers": ["chat-ai"],+ "features": ["chat", "chat-prefill"],+ "criticality": "medium",+ "confidence": "partial",+ "ux": "synthetic",+ "notes": "Pending auto-send prefill must render only the clean prompt, not the internal model context, as the user message."+ },{"spec": "chat-streaming-performance.spec.ts","platforms": ["macos"],diff --git a/apps/screenpipe-app-tauri/scripts/pre_build.js b/apps/screenpipe-app-tauri/scripts/pre_build.jsindex a6b9067ee..0c5635d19 100644--- a/apps/screenpipe-app-tauri/scripts/pre_build.js+++ b/apps/screenpipe-app-tauri/scripts/pre_build.js@@ -316,7 +316,10 @@ async function downloadStaticLinuxFfmpeg() {}}- await $`wget --no-config ${config.linux.ffmpegUrl} -O ${archive}`+ // johnvansickle.com intermittently returns a transient HTTP 415 (and the odd+ // 5xx). wget does NOT retry HTTP error responses by default — one 415 then+ // hard-fails the whole build — so opt those codes into the retry budget.+ await $`wget --no-config --tries=5 --waitretry=10 --retry-on-http-error=415,429,500,502,503,504 --timeout=60 ${config.linux.ffmpegUrl} -O ${archive}`await $`tar xf ${archive}`const entries = await fs.readdir(cwd, { withFileTypes: true });@@ -556,7 +559,7 @@ if (platform == 'linux') {// Setup TESSERACTif (!(await fs.exists(config.linux.tesseractName)) || (await isSymlink(config.linux.tesseractName))) {await fs.rm(config.linux.tesseractName, { force: true });- await $`wget --no-config -nc ${config.linux.tesseractUrl} -O ${config.linux.tesseractName}`+ await $`wget --no-config -nc --tries=5 --waitretry=10 --retry-on-http-error=415,429,500,502,503,504 --timeout=60 ${config.linux.tesseractUrl} -O ${config.linux.tesseractName}`await $`chmod +x ${config.linux.tesseractName}` // Make the Tesseract binary executable} else {console.log('TESSERACT already exists');