merge start and health check into single CI step to avoid process cleanup

This commit is contained in:
Adil Hafeez 2026-03-23 01:26:30 +00:00
parent fde90a00df
commit e8dd0bbdf8

View file

@ -75,15 +75,12 @@ jobs:
- name: Build native binaries
run: crates/target/release/planoai build
- name: Start plano natively
- name: Start plano and health check
env:
OPENAI_API_KEY: test-key-not-used
run: |
crates/target/release/planoai up tests/e2e/config_native_smoke.yaml
sleep 2
- name: Health check
run: |
sleep 3
for i in $(seq 1 30); do
if curl -sf http://localhost:12000/healthz > /dev/null 2>&1; then
echo "Health check passed"