feat(runner-controller): raise max_total to 20 on prod #564
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!564
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "runner-max-total-20"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Summary
Raise the ephemeral runner ceiling on prod from 4 to 20 and correct the
min_idlecomment.Bahnhof bills compute pro-rata, not per started hour, so concurrency changes the burst ceiling and not the cost of a job. The 4-VM cap queued jobs on Renovate days: 283 boots on 2026-10-02, 58 in one hour. Worst case at 20 is 10.2 SEK/h, and
reap_max_age_seconds(2 h) bounds a runaway at 20 VM-hours.Evidence
max_total: 4rendered into the controller config; jobs wait on burst days.After: config renders
max_total: 20. Pre-push hooks pass, including the runner-controller logic tests.Not yet applied. Apply after merge:
Check compute quota first (20 instances, 40 vCPU, 80 GiB RAM, 400 GB of boot volumes at full fan-out):
Merge Danger
Door: two-way
Revert the variable and re-apply the tag.
Blast Radius: CI capacity
Runners share one SNAT address. The
forgejo_apizone is 300/min per source, so 20 parallel jobs that call/api/v1/*can see 429. Runner protocol and git transport paths are exempt.