You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: only serialize PTY spawn on musl, not entire lifetime
The previous fix held the mutex for the Terminal's entire lifetime,
which serialized all PTY tests within a binary. With 8 tests having
5-second timeouts, later tests would time out waiting for the lock
(4/10 CI runs failed with exit code 101).
The SIGSEGV occurs in musl's sysconf/fcntl during openpty + fork/exec,
not during normal FD I/O on already-open PTYs. Restrict the lock to
just the spawn section so tests can run concurrently after creation.
https://claude.ai/code/session_011H8UR3gS6hoyQAf2x7Dfw8
0 commit comments