Skip to content

Commit bd70479

Browse files
author
Jenkins
committed
fix: commit Cargo.lock and fix CI integration test timeouts
1 parent 85c7f2f commit bd70479

3 files changed

Lines changed: 5031 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
${{ runner.os }}-cargo-integration-
9696
9797
- name: Start infrastructure services
98-
run: docker compose up -d --wait clickhouse postgres redis
98+
run: docker compose up -d --wait --wait-timeout 120 clickhouse postgres redis
9999
env:
100100
CLICKHOUSE_PORT: "8123"
101101
CLICKHOUSE_NATIVE_PORT: "9000"
@@ -107,8 +107,19 @@ jobs:
107107

108108
- name: Verify service health
109109
run: |
110-
echo "Checking ClickHouse..."
111-
docker compose exec -T clickhouse wget --spider -q http://localhost:8123/ping
110+
for i in $(seq 1 30); do
111+
echo "Attempt $i/30: Checking ClickHouse..."
112+
if docker compose exec -T clickhouse wget --spider -q http://localhost:8123/ping 2>/dev/null; then
113+
echo "ClickHouse is ready."
114+
break
115+
fi
116+
if [ "$i" -eq 30 ]; then
117+
echo "ClickHouse failed to become healthy after 30 attempts."
118+
docker compose logs clickhouse
119+
exit 1
120+
fi
121+
sleep 3
122+
done
112123
echo "Checking PostgreSQL..."
113124
docker compose exec -T postgres pg_isready -U llmtrace
114125
echo "Checking Redis..."

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
/docs/book/
4040
/target/
4141
/test-results/
42-
Cargo.lock
4342
Thumbs.db
4443
__pycache__/
4544
config.dev.yaml

0 commit comments

Comments
 (0)