fix: address Plan 2 final-review findings

- tui/doc.go: remove teatest blank import (test harness in prod binary)
- cmd: honor wizard HaltOnError toggle in addition to --halt-on-error flag
- cmd: wire SIGINT/SIGTERM to root context via signal.NotifyContext
- dashboard/run: derive engine context and cancel on tea.Program exit
  so the engine goroutine does not outlive Run
This commit is contained in:
MDietermann
2026-04-13 22:26:54 +02:00
parent ea5667e040
commit 2ebaa6b5c6
3 changed files with 20 additions and 10 deletions

View File

@@ -2,10 +2,3 @@
// that collects user choices and the Bubble Tea dashboard that renders
// live module status during engine.Run.
package tui
import (
_ "github.com/charmbracelet/bubbletea"
_ "github.com/charmbracelet/huh"
_ "github.com/charmbracelet/lipgloss"
_ "github.com/charmbracelet/x/exp/teatest"
)