From 343e91c0e64ec5d69ade42bb712929a60c9d3d97 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Wed, 30 Sep 2026 00:36:16 -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 67366c7..97c6dae 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -152,7 +152,9 @@ jobs: # down): check the mirror, or unset BUILD_ON to build here. 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:22-bookworm-slim@sha256:48e4b67d85f87bd551df43704e24d252f56cc5f8e9718841aace50f19948f0f9 # 22-bookworm-slim -- 2.54.0