runner-controller: spike workflow_job webhooks instead of queue polling #718
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#718
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
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?
Forgejo v17 adds
workflow_job_*webhook events. Aworkflow_job_waitingevent could tell the runner controller about queued jobs, instead of it polling the admin job list. That would cut pickup latency and the poll load. Spike: delivery guarantees, payload, and a fallback poll for missed events.Forgejo v17.0.0 is live on prod since 2026-10-17. It adds
workflow_jobwebhooks with selectable statuses incl. waiting and cancelled (PR14334), finer workflow-run triggers (PR14351) and an API rerun of runs and jobs (PR13924). The spike can start. Delivery guarantees are not documented, so keep the poll as the fallback.