fix: vision(#623): end-to-end subpath routing smoke test for Forgejo + Woodpecker + chat (#1025) #1063

Merged
dev-qwen2 merged 8 commits from fix/issue-1025-3 into main 2026-04-20 11:01:13 +00:00
Showing only changes of commit 48ce3edb4b - Show all commits

View file

@ -130,17 +130,9 @@ steps:
echo "=== Validating Caddyfile routing blocks ==="
# Check that all required subpath handlers exist
REQUIRED_HANDLERS=(
"handle /forge/\*"
"handle /ci/\*"
"handle /staging/\*"
"handle /chat/login"
"handle /chat/oauth/callback"
"handle /chat/\*"
)
# POSIX-safe loop (alpine /bin/sh has no arrays)
FAILED=0
for handler in "$${REQUIRED_HANDLERS[@]}"; do
for handler in "handle /forge/\*" "handle /ci/\*" "handle /staging/\*" "handle /chat/login" "handle /chat/oauth/callback" "handle /chat/\*"; do
if grep -q "$handler" "$CADDYFILE"; then
echo "[PASS] Found handler: $handler"
else