[BUG] TUI regression between 2.1.29 and 2.1.34 — interactive mode dies silently on Linux SSH/HPC
Status Fixed / completed
Reported on v2.1.29
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 5 comments · opened Feb 6, 2026 · closed Feb 9, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
[BUG] TUI regression between 2.1.29 and 2.1.34 — interactive mode dies silently on Linux SSH/HPC
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code
What's Wrong?
Interactive mode (TUI) dies silently after rendering on Linux clusters accessed via SSH. The TUI briefly appears then exits with no error message, no crash log, no output whatsoever. Non-interactive mode (claude -p) works perfectly.
This is a regression: version 2.1.29 works, versions 2.1.30+ do not.
Environment
- Platform: Linux (two independent NSF HPC clusters (ACCESS-CI), both Ubuntu-based)
- Access method: SSH to cluster → interactive compute node
- Terminal multiplexer: Tested with and without screen — same failure
- TERM: Tested
screen.xterm-256colorandxterm-256color— same failure - Claude Code version: 2.1.34 (also tested 2.1.30–2.1.33, all fail)
- Installation method: Native installer via
curl -fsSL https://claude.ai/install.sh | bash
Steps to Reproduce
- SSH into a Linux cluster
- Launch an interactive compute node
- Run
claude(interactive mode) - TUI renders briefly, then exits silently — no error, no output
What I've Tried
- Fresh install (nuked
~/.claude,~/.claude.json,~/.config/claude,~/.cache/claude, binary) export TERM=xterm-256colorstty rows 50 cols 145script -q /dev/null -c "claude"(workaround from #12507 — did NOT help)SHELL=/bin/sh claude- Two completely independent clusters — identical failure
Debug Log Analysis
2.1.34 debug log shows:
[render] initLayout complete✓[REPL:mount] REPL mounted✓[render] first ink render✓High write ratio: blit=0, write=1194 (100.0% writes), screen=20x145← zero successful blits- Then silence — no error, no crash
2.1.34 with xterm-256color:
- Same render sequence completes
- Filesystem operations take seconds (likely blocking on network calls, not disk)
Lock acquisition took longer than expected - another Claude instance may be running- Then silence
Key Observations
-p(non-interactive) mode works fine on 2.1.34 — backend/auth/API is not the issue- 2.1.29 TUI works perfectly, including with
--model claude-opus-4-6 - Two independent clusters broke on the same day, ruling out local infrastructure
- The
scriptPTY wrapper that fixes #12507 does NOT fix this - Zero blits in debug log suggests the TUI rendering pipeline changed between 2.1.29 and 2.1.30
Impact
- Blocks interactive Claude Code usage on Linux HPC clusters
- Workaround (pinning 2.1.29 +
CLAUDE_AUTO_UPDATE=0) works but is fragile - Max subscribers cannot use Opus 4.6 interactively on clusters if the new binary is required
Related Issues
- #12507 (similar symptoms on HPC but different root cause —
scriptworkaround doesn't apply here) - #11898 (TUI suspend/raw mode issues)
What Should Happen?
Claude code should not silently fail with no error messages or logs after version 2.1.29
Error Messages/Logs
Steps to Reproduce
Simply run claude on a linux HPC!
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.29
Claude Code Version
2.1.34 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Xterm
Additional Information
_No response_
5 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This is similar to #23164 but is not the same. This works perfectly fine on my local Linux box. It is specifically related to HPC clusters (also running on Linux). Also Claude Code suddenly stopped working two days ago after working for a month, since version 2.1.30. 2.1.29 works fine but I cannot use Opus 4.6 with it, only Opus 4.5. Downgrading the Claude Code version downgrades the Opus model. This is not a terminal freeze, Claude Code silently exits with exit code 0, no error message in the log file. I tried claude --debug and no error message in the log file. I have scoured the other bugs and this is new.
UPDATE: Root cause identified
The TUI crash occurs only in non-git directories. Running
git initin anydirectory immediately fixes the issue.
Reproduction:
This is a regression in 2.1.30+. Version 2.1.29 works fine in non-git directories.
This is the most ridiculous bug in all of programming, surely. I have no idea how you folks did it.
I also confirmed the
git initworkaround worksThis issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.