Skip to content

Commit 463a059

Browse files
talissoncostaclaude
andcommitted
ci: Add --max-time 30 to smoke test curls
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9a4f381 commit 463a059

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/frontend-pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,21 @@ jobs:
8080
8181
# Smoke test the deployment
8282
echo "🔍 Testing $URL/health ..."
83-
STATUS=$(curl -s -o /dev/null -w '%{http_code}' "$URL/health")
83+
STATUS=$(curl -s -o /dev/null -w '%{http_code}' --max-time 30 "$URL/health")
8484
if [ "$STATUS" != "200" ]; then
8585
echo "❌ /health returned $STATUS"
8686
exit 1
8787
fi
8888
8989
echo "🔍 Testing $URL/config/project-overrides ..."
90-
STATUS=$(curl -s -o /dev/null -w '%{http_code}' "$URL/config/project-overrides")
90+
STATUS=$(curl -s -o /dev/null -w '%{http_code}' --max-time 30 "$URL/config/project-overrides")
9191
if [ "$STATUS" != "200" ]; then
9292
echo "❌ /config/project-overrides returned $STATUS"
9393
exit 1
9494
fi
9595
9696
echo "🔍 Testing $URL/ ..."
97-
STATUS=$(curl -s -o /dev/null -w '%{http_code}' "$URL/")
97+
STATUS=$(curl -s -o /dev/null -w '%{http_code}' --max-time 30 "$URL/")
9898
if [ "$STATUS" != "200" ]; then
9999
echo "❌ / returned $STATUS (this is the index page served by the Express server)"
100100
exit 1

0 commit comments

Comments
 (0)