Skip to content
This repository was archived by the owner on Nov 22, 2025. It is now read-only.

Commit fc19426

Browse files
pacphiclaude
andcommitted
fix(ci): make health check CI-mode aware to prevent deployment timeouts
The health check was failing in CI mode because it expected sshd to be running, but CI mode intentionally skips SSH daemon startup to use Fly.io's hallpass service instead. This caused continuous health check failures and deployment timeouts. Changes: - Health check now passes immediately in CI_MODE=true - Production mode still validates sshd is running - Prevents 10-minute deployment timeouts in CI workflows Fixes deployment failures in integration-resilient workflow. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1f768e4 commit fc19426

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docker/scripts/health-check.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
#!/bin/bash
22
# Health check script for Docker container
33

4-
# Check if SSH daemon is running
4+
# In CI mode, we use Fly.io's hallpass SSH instead of custom sshd
5+
# Health check should pass as long as the container is running
6+
if [ "$CI_MODE" = "true" ]; then
7+
exit 0
8+
fi
9+
10+
# In production mode, check if SSH daemon is running
511
if pgrep sshd > /dev/null; then
612
exit 0
713
else

0 commit comments

Comments
 (0)