fix(workflows): match runner label — runs-on ubuntu-latest (#508) #509

Merged
marcel merged 1 commits from fix/issue-508-runner-label-self-hosted-to-ubuntu into main 2026-05-11 16:18:40 +02:00
Owner

Summary

Closes #508.

Both .gitea/workflows/nightly.yml and release.yml had runs-on: self-hosted, but our gitea-runner advertises ubuntu-latest / ubuntu-24.04 / ubuntu-22.04 — no runner has self-hosted. Dispatched deploy jobs parked in the queue indefinitely (run 1483, run 1492, …).

Fix

Change runs-on: self-hostedruns-on: ubuntu-latest in both files. The runner is still self-hosted in the architectural sense (DooD socket, joined to gitea_gitea net, single-tenant per ADR-011). The "self-hosted" string was just a label-name assumption that didn't match reality.

Added an inline comment in nightly.yml explaining the choice and confirming it stays within ADR-011's single-tenant promise (which is a repo-level boundary, not a label-level one).

Test plan

  • runs-on value matches a label the runner actually advertises
  • After merge: re-dispatch nightly.yml. Job picks up. Staging stack builds and up -d --wait succeeds.

🤖 Generated with Claude Code

## Summary Closes #508. Both `.gitea/workflows/nightly.yml` and `release.yml` had `runs-on: self-hosted`, but our `gitea-runner` advertises `ubuntu-latest / ubuntu-24.04 / ubuntu-22.04` — no runner has `self-hosted`. Dispatched deploy jobs parked in the queue indefinitely (run 1483, run 1492, …). ## Fix Change `runs-on: self-hosted` → `runs-on: ubuntu-latest` in both files. The runner is still self-hosted in the architectural sense (DooD socket, joined to `gitea_gitea` net, single-tenant per ADR-011). The "self-hosted" string was just a label-name assumption that didn't match reality. Added an inline comment in nightly.yml explaining the choice and confirming it stays within ADR-011's single-tenant promise (which is a repo-level boundary, not a label-level one). ## Test plan - [x] `runs-on` value matches a label the runner actually advertises - [ ] After merge: re-dispatch `nightly.yml`. Job picks up. Staging stack builds and `up -d --wait` succeeds. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
marcel added 1 commit 2026-05-11 16:16:32 +02:00
fix(workflows): match runner label — runs-on ubuntu-latest, not self-hosted
Some checks failed
CI / Unit & Component Tests (pull_request) Has been cancelled
CI / OCR Service Tests (pull_request) Has been cancelled
CI / Backend Unit Tests (pull_request) Has been cancelled
CI / fail2ban Regex (pull_request) Has been cancelled
CI / Compose Bucket Idempotency (pull_request) Has been cancelled
CI / Unit & Component Tests (push) Failing after 2m49s
CI / Backend Unit Tests (push) Has been cancelled
CI / fail2ban Regex (push) Has been cancelled
CI / Compose Bucket Idempotency (push) Has been cancelled
CI / OCR Service Tests (push) Has been cancelled
54a8f7f8e9
Closes #508.

Our gitea-runner advertises labels ubuntu-latest / ubuntu-24.04 /
ubuntu-22.04. `runs-on: self-hosted` never matches → dispatched
deploy jobs sit in the queue forever. The runner is still
genuinely self-hosted (DooD socket, joined to gitea_gitea net,
single-tenant per ADR-011) — the `self-hosted` token was just an
unconfirmed assumption about the label name.

Unblocks #497 / #499 first deploy.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
marcel merged commit 54a8f7f8e9 into main 2026-05-11 16:18:40 +02:00
marcel deleted branch fix/issue-508-runner-label-self-hosted-to-ubuntu 2026-05-11 16:18:41 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marcel/familienarchiv#509