Commit 53fa465
fix: prevent Bubble Tea spinner hang in non-TTY environments
Add TTY check before starting the Bubble Tea spinner to prevent potential
hangs in CI environments where no terminal is available.
The issue was that tea.Program.Run() could block indefinitely when trying
to initialize the terminal in non-TTY environments like CI runners.
This fix adds isTTY() check at the start of the spinner, similar to how
info.go already handles TTY detection for its version fetch spinner.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 56a46ca commit 53fa465
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
| |||
0 commit comments