spawn/packages/cli/src
A 98d5a6612b
fix: add SIGKILL fallback to process timeout kills (#1931)
* fix: add SIGKILL fallback to process timeout kills

proc.kill() only sends SIGTERM; SSH processes stuck in network I/O can
ignore SIGTERM and cause the CLI to hang forever waiting on proc.exited.

Add killWithTimeout() to shared/ssh.ts that sends SIGTERM then SIGKILL
after a 5s grace period. Replace all 10 proc.kill() timeout sites across
Fly, AWS, DigitalOcean, GCP and Hetzner providers.

Agent: code-health
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* chore: format files with biome

---------

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-25 16:50:18 -05:00
..
__tests__ fix: remove fake tests that copy-paste source functions instead of importing (#1919) 2026-02-25 03:26:58 -08:00
aws fix: add SIGKILL fallback to process timeout kills (#1931) 2026-02-25 16:50:18 -05:00
daytona fix: drain piped stderr in Fly/Daytona runServerCapture to prevent deadlock (#1920) 2026-02-25 07:19:15 -05:00
digitalocean fix: add SIGKILL fallback to process timeout kills (#1931) 2026-02-25 16:50:18 -05:00
fly fix: add SIGKILL fallback to process timeout kills (#1931) 2026-02-25 16:50:18 -05:00
gcp fix: add SIGKILL fallback to process timeout kills (#1931) 2026-02-25 16:50:18 -05:00
hetzner fix: add SIGKILL fallback to process timeout kills (#1931) 2026-02-25 16:50:18 -05:00
local ci: add Mock Tests job to satisfy required status check (#1904) 2026-02-25 00:54:33 -05:00
shared fix: add SIGKILL fallback to process timeout kills (#1931) 2026-02-25 16:50:18 -05:00
sprite fix: drain piped stdout/stderr in aws waitForCloudInit and sprite destroyServer (#1929) 2026-02-25 15:48:43 -05:00
commands.ts fix(ux): use space instead of slash in connection failure hint (#1930) 2026-02-25 16:47:09 -05:00
flags.ts feat: Bun workspace monorepo — packages/cli + packages/shared (#1853) 2026-02-23 22:07:05 -08:00
guidance-data.ts feat: Bun workspace monorepo — packages/cli + packages/shared (#1853) 2026-02-23 22:07:05 -08:00
history.ts feat: Bun workspace monorepo — packages/cli + packages/shared (#1853) 2026-02-23 22:07:05 -08:00
index.ts feat: Bun workspace monorepo — packages/cli + packages/shared (#1853) 2026-02-23 22:07:05 -08:00
manifest.ts test: fix inline source copies — import real isValidManifest instead of stale replica (#1900) 2026-02-24 22:04:03 -08:00
picker.ts fix: replace @clack/prompts multiselect with /dev/tty picker for SSH keys (#1907) 2026-02-24 23:54:54 -08:00
security.ts feat: Bun workspace monorepo — packages/cli + packages/shared (#1853) 2026-02-23 22:07:05 -08:00
unicode-detect.ts feat: Bun workspace monorepo — packages/cli + packages/shared (#1853) 2026-02-23 22:07:05 -08:00
update-check.ts style: enforce separated type imports via biome (#1870) 2026-02-24 00:16:03 -08:00