fix: Bare \cd\ at line 293 in main loop (pre-existing) (#927)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
415e94243e
commit
db76d648de
1 changed files with 2 additions and 2 deletions
|
|
@ -290,10 +290,10 @@ PYEOF
|
|||
log "DONE $seed_name"
|
||||
|
||||
# 6. Teardown — poll until all containers have exited (exponential backoff, no fixed delay)
|
||||
cd "$REPO_ROOT" && docker compose down -v 2>/dev/null || true
|
||||
docker compose -f "$REPO_ROOT/docker-compose.yml" down -v 2>/dev/null || true
|
||||
_deadline=$(( $(date +%s) + 30 ))
|
||||
_backoff_ms=100
|
||||
while [[ -n "$(docker compose ps --quiet 2>/dev/null)" ]]; do
|
||||
while [[ -n "$(docker compose -f "$REPO_ROOT/docker-compose.yml" ps --quiet 2>/dev/null)" ]]; do
|
||||
if [[ $(date +%s) -ge $_deadline ]]; then
|
||||
log "WARNING: containers still present after 30s — proceeding anyway"
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue