bug(workflows): deploy workflows use runs-on: self-hosted but runner advertises ubuntu-latest — jobs never picked up
#508
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
.gitea/workflows/nightly.ymlandrelease.ymlboth haveruns-on: self-hosted. Ourgitea-runneradvertises labelsubuntu-latest / ubuntu-24.04 / ubuntu-22.04— no runner has theself-hostedlabel. Result: dispatched deploy jobs sit in the queue indefinitely.Reproduction
Impact
runs-on: ubuntu-latest, which matches.Fix
Change
runs-on: self-hosted→runs-on: ubuntu-latestin both deploy workflows. The runner is genuinely self-hosted (DooD socket mounted, joined togitea_giteanet, single-tenant per ADR-011) — theself-hostedtoken inruns-onwas just an unconfirmed label name.Alternative considered: re-register the runner with a
self-hostedlabel. Rejected as operationally invasive (would require editing/data/.runnerand restarting), with no upside — ADR-011's single-tenant promise is about the repo, not the label.Discovered
While running
nightly.ymlfor the first staging deploy after #497 / #499 landed.