spawn/sh/e2e/lib/clouds
Ahmed Abushagur cd758589c3
fix(e2e): robust DigitalOcean teardown with retry and deletion confirmation (#2046)
The teardown was doing a single DELETE without --max-time, so connection
timeouts caused HTTP 000 and the droplet was never deleted. When running
6 agents in batches of 3, batch 1's stale droplet caused batch 2 to fail
with "will exceed your droplet limit."

Fix:
- Add --max-time 30 to prevent curl hangs
- Retry DELETE up to 3 times on failure
- Poll the API after DELETE to confirm the droplet is actually gone (up to 60s)
- Remove -f flag from curl so %{http_code} is always captured

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 22:09:15 -05:00
..
aws.sh fix(e2e): increase server sizes and install timeouts (#2014) 2026-02-28 00:25:36 -08:00
daytona.sh feat(e2e): multi-cloud test suite with cloud driver pattern (#2004) 2026-02-27 19:28:08 -08:00
digitalocean.sh fix(e2e): robust DigitalOcean teardown with retry and deletion confirmation (#2046) 2026-02-28 22:09:15 -05:00
gcp.sh fix(e2e): increase server sizes and install timeouts (#2014) 2026-02-28 00:25:36 -08:00
hetzner.sh fix(e2e): increase server sizes and install timeouts (#2014) 2026-02-28 00:25:36 -08:00
sprite.sh fix(security): prevent cmd injection in sprite exec via positional args (#2021) 2026-02-28 09:42:13 -05:00