From 09dd391a9f2fc8a106616db2495664ce0ff8846f Mon Sep 17 00:00:00 2001 From: Kresna Date: Sat, 25 Jul 2026 17:05:36 +0700 Subject: [PATCH] fix(release): defer ffmpeg externalBin; fix web-deploy OOM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The externalBin ffmpeg sidecar is validated by tauri-build at COMPILE time, so it broke every workflow that compiles the crate (release + desktop-check) — the CI sidecar wasn't found at build time even though the download step ran. Rather than keep blocking the release, remove externalBin for now (keep bundle.active: true — the actual fix that makes tauri-action publish installers). The app falls back to system ffmpeg; proper bundling will return in a follow-up that fixes all compile-time workflows. Also fix the Cloudflare Pages deploy (deploy.yml): its `npm run build` OOM'd on the default ~2GB Node heap — added NODE_OPTIONS=--max-old-space-size=8192. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_013dqouzFP8vy9jaKhTDFj5H --- .github/workflows/deploy.yml | 3 +++ src-tauri/tauri.conf.json | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bb1f4d4..101f619 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,6 +25,9 @@ jobs: run: npm ci --legacy-peer-deps - name: Build + env: + # The asset-heavy Astro build OOMs on the default ~2 GB Node heap. + NODE_OPTIONS: --max-old-space-size=8192 run: npm run build - name: Deploy to Cloudflare Pages diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 65d10ca..ec979a8 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -79,7 +79,6 @@ "active": true, "targets": "all", "resources": [], - "externalBin": ["bin/ffmpeg"], "category": "Utility", "shortDescription": "Privacy-first client-side tools", "longDescription": "GoodWebTools Desktop brings browser-based tools to your desktop with system-wide capture, global hotkeys, and native file access."