From c5461ce8ee1a775fc5918f429fa683687bffd503 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sun, 19 Jul 2026 22:09:19 -0400 Subject: [PATCH] ci: concurrency (cancel-in-progress) on the release build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Continuous "latest" builds track lotus HEAD, so only the newest submodule bump needs to build. Cancel a superseded in-flight release: rapid lotus pushes would otherwise queue several ~30-min Tauri builds back-to-back, and build-linux runs on ubuntu-latest — the same runner pool as cinny web CI — so the queue also starves web CI/deploys. update-manifest only publishes release.json on full success, so a cancelled run leaves the last good manifest untouched. Reviewed by 2 agents (SHIP). Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index d57a106..58987c2 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -9,6 +9,16 @@ env: GITEA_URL: https://code.lotusguild.org REPO: LotusGuild/cinny-desktop +# Continuous "latest" builds track lotus HEAD, so only the newest submodule bump +# needs to build. Cancel a superseded in-flight release: rapid lotus pushes would +# otherwise queue several ~30-min Tauri builds back-to-back, and build-linux runs +# on ubuntu-latest — the same runner pool as cinny's web CI — so the queue also +# starves web CI/deploys. update-manifest only publishes release.json on full +# success, so a cancelled run leaves the last good manifest untouched. +concurrency: + group: desktop-release-${{ github.ref }} + cancel-in-progress: true + jobs: prepare: runs-on: ubuntu-latest