mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-08 18:39:50 +00:00
Agent processes on DigitalOcean droplets were dying silently on SIGTERM with no logging or recovery. This adds: - SIGTERM trap handler that logs signal, timestamp, and dashboard URL - SIGHUP trap handler for terminal disconnection - Restart loop with exponential backoff (up to 3 attempts) on SIGTERM - Child process forwarding so bun receives the signal cleanly Replaces bare `exec bun run` with a managed foreground process that the shell can monitor and restart. Fixes #1859 Agent: ux-engineer Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| aws | ||
| cli | ||
| daytona | ||
| digitalocean | ||
| e2e | ||
| fly | ||
| gcp | ||
| hetzner | ||
| local | ||
| shared | ||
| sprite | ||
| test | ||