From cdb42de561c73969ddc609b199884f5e2e42b0d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Balv=C3=ADn?= Date: Thu, 17 Sep 2026 20:16:49 +0200 Subject: [PATCH] ci: record the verified cancel-in-progress behaviour Assisted-by: GLM 5.3 Flash --- .gitea/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index f2e3c1e..f90d415 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -31,8 +31,9 @@ env: GOMAXPROCS: "2" # A superseded run of the same ref is cancelled instead of queueing behind one -# that no longer matters. Unverified on this Gitea: this block is the experiment -# from the roadmap, push twice in a row and watch whether the first run cancels. +# that no longer matters. Verified on this Gitea on 2026-09-17: a queued run +# whose ref moved on is cancelled before it ever reaches the runner, while a +# run already dispatched there runs to completion. concurrency: group: ${{ gitea.workflow }}-${{ gitea.ref }} cancel-in-progress: true