fix(forgejo): keep the system webhook check warn-only when Caddy is down #751
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!751
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/forgejo-webhook-check-warn-only"
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?
Refs #584.
Problem
The forgejo role checks the reconcile-trigger system webhook with a GET through the public URL, so the request goes through Caddy. On a fresh store, Caddy converges later in the same play. The GET was refused and stopped the run, even though the check is documented as warn-only.
This happened on staging in the legacy-rename rehearsal, and again in its rollback (applying
mainafterlegacy-rename.sh rollback). Both needed a hand-run--tags caddypass.Change
failed_when: falseon the GET. The warn task already degrades todefault([]), so an unreachable URL prints the warning instead of failing.Why before the rename windows
A rollback applies
main. Without this fix, the rollback path needs the manual Caddy step.