From b5ed4e0098c1a2edd87492bad8f7b7cfebe16bbc Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Sun, 28 Jun 2026 08:43:15 -0700 Subject: [PATCH] chore(cli): re-add changeset for TUI quit hard-exit fix Restores the .changeset entry dropped during the squash-merge that landed the dashboard shutdown watchdog + timeShutdownStep instrumentation. Code was already on main; only the release-notes changeset was lost. Co-Authored-By: Claude Opus 4.8 (1M context) --- .changeset/tui-quit-hard-exit.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changeset/tui-quit-hard-exit.md diff --git a/.changeset/tui-quit-hard-exit.md b/.changeset/tui-quit-hard-exit.md new file mode 100644 index 0000000000..22e1ace74b --- /dev/null +++ b/.changeset/tui-quit-hard-exit.md @@ -0,0 +1,7 @@ +--- +"@runfusion/fusion": patch +--- + +summary: Pressing q (or Ctrl+C) in the TUI now always quits, even if a teardown step stalls. +category: fix +dev: dashboard.ts shutdown/devShutdown arm an unref'd 3s hard-exit watchdog on the first signal and force an immediate process.exit(0) on a second signal, so a hung stopAllDevServers/engine/central-core teardown can no longer leave the process alive repainting the restored shell. Each teardown step now runs through timeShutdownStep, which tracks the in-flight step so the watchdog names the exact stalling step on stderr; set FUSION_DEBUG_SHUTDOWN=1 for per-step timings (slow steps >1s are always surfaced).