From 2e1b69998fb56b7d0ab91fe5b8b94f08320d975a Mon Sep 17 00:00:00 2001 From: Viktor Vaczi Date: Mon, 27 Jul 2026 13:33:36 +0200 Subject: [PATCH] ci: stop site/** from triggering the full WASM build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ci-ubicloud.yml used paths-ignore: ["docs/**", "**.md"] with concurrency.cancel-in-progress: false, so every non-markdown edit under site/ queued a full 6-tool KiCad WASM build plus the wxWidgets + KiCad e2e suites — and queued rather than superseded, so a multi-commit push stacked several of them up. The marketing site shares no build inputs with the WASM tools and ships from its own deploy-site.yml. Landed on its own, ahead of the Cloudflare migration commits, so those don't pay the old cost. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01LAmkjM7okPdScp9XLW1JVr --- .github/workflows/ci-ubicloud.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-ubicloud.yml b/.github/workflows/ci-ubicloud.yml index 7e0aa1e..6ca47b5 100644 --- a/.github/workflows/ci-ubicloud.yml +++ b/.github/workflows/ci-ubicloud.yml @@ -11,14 +11,19 @@ name: CI full build + e2e (Ubicloud) # in scripts/deploy/wasm-cache-hash.mjs does. For inputs the sc-hash can't see # (base-image / apt drift, a bad cache) bump .ci-cache-epoch; for a one-off # rebuild put [no-cache] or [rebuild-wasm] in the commit message / PR title. +# +# site/** is ignored: the Astro marketing site shares no build inputs with the +# WASM tools and ships from its own deploy-site.yml. Without the exclusion every +# blog post or landing-page tweak queued a full 6-tool build + both e2e suites — +# and since concurrency never cancels, a multi-commit push stacked them up. on: push: branches: ["main", "ubicloud-ci"] - paths-ignore: ["docs/**", "**.md"] + paths-ignore: ["docs/**", "**.md", "site/**"] pull_request: branches: ["main"] - paths-ignore: ["docs/**", "**.md"] + paths-ignore: ["docs/**", "**.md", "site/**"] workflow_dispatch: inputs: no_cache: