fix(forgejo): keep the system webhook check warn-only when Caddy is down #751

Sammanfogat
supernaut sammanfogade 1 incheckning från fix/forgejo-webhook-check-warn-only in i main 2026-10-14 19:07:46 +00:00
Ägare

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 main after legacy-rename.sh rollback). Both needed a hand-run --tags caddy pass.

Change

failed_when: false on the GET. The warn task already degrades to default([]), 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.

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 `main` after `legacy-rename.sh rollback`). Both needed a hand-run `--tags caddy` pass. ## Change `failed_when: false` on the GET. The warn task already degrades to `default([])`, 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.
supernaut lade till 1 incheckning 2026-10-14 19:03:52 +00:00
fix(forgejo): keep the system webhook check warn-only when Caddy is down
Alla kontroller lyckades
ci / ci (pull_request) Successful in 2m56s
f8c9e02591
On a fresh store the forgejo role runs before Caddy converges, so the GET through the public URL
was refused and stopped the run. Seen in the legacy-rename rehearsal and its rollback on staging.
Refs #584.
supernaut sammanfogade incheckning dd97d0c4c2 till main 2026-10-14 19:07:46 +00:00
supernaut tog bort grenen fix/forgejo-webhook-check-warn-only 2026-10-14 19:07:46 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra!751
Ingen beskrivning angiven.