turbo
ab32c2b7 - fix: Restore TUI force shutdown (#13102)

Commit
80 days ago
fix: Restore TUI force shutdown (#13102) ## Why Windows TUI mode consumes Ctrl-C while the terminal is in raw mode. The first Ctrl-C could start graceful shutdown, but subsequent Ctrl-C presses were not visible to the forced-shutdown waiters, so users could not force-exit stuck tasks from the TUI. Refs #12651. ## What Broadcast in-process Ctrl-C notifications from the shared signal handler and let process/cache shutdown waiters treat those notifications as force-shutdown signals after graceful shutdown has started. ## How Verified with: - `cargo fmt --package turborepo-lib --package turborepo-signals` - `cargo test -p turborepo-signals` - `cargo test -p turborepo-lib shutdown` - `cargo test -p turbo --test graceful_shutdown_test run_force_kills_on_second_sigint_in_tty`
Author
Parents
Loading