We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea8f1ff commit 7f66257Copy full SHA for 7f66257
1 file changed
.github/workflows/ci.yml
@@ -54,11 +54,6 @@ jobs:
54
ports:
55
- 7080:7080
56
- 7084:7084
57
- options: >-
58
- --health-cmd "wget -qO- http://localhost:7084/health || exit 1"
59
- --health-interval 10s
60
- --health-timeout 5s
61
- --health-retries 12
62
steps:
63
- uses: actions/checkout@v4
64
with:
@@ -68,6 +63,20 @@ jobs:
68
69
python-version: "3.11"
70
65
66
+ - name: Wait for coordinode
67
+ run: |
+ echo "Waiting for coordinode health endpoint..."
+ for i in $(seq 1 30); do
+ if curl -sf http://localhost:7084/health >/dev/null 2>&1; then
71
+ echo "coordinode is ready (attempt $i)"
72
+ exit 0
73
+ fi
74
+ echo "Attempt $i/30 — not ready yet, sleeping 5s..."
75
+ sleep 5
76
+ done
77
+ echo "Error: coordinode did not become healthy after 150s" >&2
78
+ exit 1
79
+
80
- name: Install + generate proto
81
run: |
82
uv sync
0 commit comments