From 38934d7772a28520b18a77104a51be6727668ac6 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Wed, 30 Sep 2026 00:36:23 -0700 Subject: [PATCH] ci: run the github wait job on its own runner label The github job only polls Gitea for GitHub's commit status, but it holds a runner slot for as long as the GitHub build takes -- the better part of an hour for a cold build. On the shared build runners a handful of those could take every slot and stall real work, so it now runs on the `wait` label: a runner of its own, with many slots, no docker socket and a small CPU and memory cap. --- .gitea/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 12dbe1e..f19f9ce 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -153,7 +153,9 @@ jobs: # to unset BUILD_ON and build here again. github: if: ${{ vars.BUILD_ON == 'github' }} - runs-on: light + # Its own runner label with plenty of slots: this job only polls, but holds a slot + # for as long as the GitHub build takes, and must not starve the build runners. + runs-on: wait timeout-minutes: 150 container: image: node:26-bookworm-slim@sha256:582460f614631b59b824ac6020533b9bf339c7fdf3a6d7db31abb6b4065f0212 # 26-bookworm-slim -- 2.54.0