ops: manually merge PR #1104 — CI deadlock (Caddy /forge/ strip_prefix fix can't pass CI it fixes) #1154
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#1154
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Situation
PR #1104 fixes
lib/generators.shto adduri strip_prefix /forgebeforereverse_proxy forgejo:3000in the/forge/*Caddy handle block. This is required because Forgejo returns 404 for/forge/*paths without the prefix being stripped.Circular dependency
CI cannot clone the repo to run this PR because:
#1080setFORGEJO__server__ROOT_URL=http://forgejo:3000/forge//forge/in theclone_urlin webhook payloads → Woodpecker useshttp://token@forgejo:3000/forge/disinto-admin/disinto.git/forge/...to Forgejo without strip_prefix → Forgejo router returns 404git cloneexits 128Verified from actual CI log:
What needs to happen
One of:
/staging/strip (#1079). Once merged, the Caddy config regenerates and future PR clones work.uri strip_prefix /forgelive to the edge Caddy config to break the deadlock, then pushes an empty commit to trigger CI retry.Acceptance criteria
curl http://localhost/forge/returns 200Affected files
lib/generators.sh— the fix