From 762d3805a4da9ee348748412875ee49966bcc48e Mon Sep 17 00:00:00 2001 From: David Reveman Date: Sat, 24 Oct 2026 13:01:20 -0700 Subject: [PATCH] Disable source maps in the Pages deployment build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pass `--no-source-maps` only in the deployment workflow so the v59.1 frontend source map cannot exceed Cloudflare Pages’ 25 MiB per-file limit. Keep source maps enabled in local and CI builds. Validation: deployment-style UI build; no `.map` files; all 81 files below 25 MiB (largest 13.90 MiB); manifest resource checks; full browser smoke suite. --- .github/workflows/deploy-ui.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-ui.yml b/.github/workflows/deploy-ui.yml index 7202c74..b83cebd 100644 --- a/.github/workflows/deploy-ui.yml +++ b/.github/workflows/deploy-ui.yml @@ -58,7 +58,7 @@ jobs: artifacts/browsers key: perfetto-ui-${{ runner.os }}-${{ hashFiles('third_party/perfetto.toml') }} - name: Build UI and Trace Processor WASM - run: python3 tools/perfetto build-ui + run: python3 tools/perfetto build-ui --no-source-maps - name: Typecheck UI run: python3 tools/perfetto check-ui --skip-deps - name: Install Chromium and system dependencies