Skip to content

Commit ea96211

Browse files
mvalancyclaude
andcommitted
CI: give the docker stack time to build before the health probe
The 90s health window predates the docker compose fix; a cold image build takes several minutes on a runner, so the step always hit timeout 124 before services could start. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5ff5950 commit ea96211

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ jobs:
246246
run: |
247247
npm run docker:prod &
248248
sleep 30
249-
echo "Waiting for services to be healthy..."
250-
timeout 90 bash -c 'until curl -k https://localhost:4128/health 2>/dev/null; do sleep 2; done'
249+
echo "Waiting for services to be healthy (image build can take several minutes)..."
250+
timeout 600 bash -c 'until curl -k https://localhost:4128/health 2>/dev/null; do sleep 5; done'
251251
252252
- name: Run PR critical tests
253253
run: npm run test:pr

0 commit comments

Comments
 (0)