[Bug] Opus 4.8: parallel Bash siblings stuck on Waiting… and render out of order behind a long-running call

Resolved 💬 1 comment Opened May 31, 2026 by kennethkhoocy Closed Jul 4, 2026

Bug Description

On claude-opus-4-8, when a batch of parallel Bash calls includes one long-running command, its sibling calls get stuck displaying Waiting… indefinitely, while Bash calls dispatched afterward complete and render normally — producing out-of-order tool output in the TUI.

Observed output:

● Bash(echo done-flush)        ⎿  done-flush
● Bash(W="…"; cd "$W"; py -c…)  ⎿  Running… (3s)
● Bash(echo n1)                ⎿  Waiting…
● Bash(echo n2)                ⎿  Waiting…
● Bash(echo n3)                ⎿  Waiting…
● Bash(echo n4)                ⎿  Waiting…
● Bash(echo p1)                ⎿  p1
● Bash(echo p2)                ⎿  p2
● Bash(echo p3)                ⎿  p3
● Bash(echo p4)                ⎿  p4
● Bash(echo p5)                ⎿  p5

The trivial n1n4 calls never leave Waiting…, yet p1p5 (dispatched later) finish and render. Expected: all calls complete and render in a consistent order.

Environment

  • Model: claude-opus-4-8
  • Platform: win32 (Windows 11)
  • CLI version: 2.1.158

Related

Likely shares a root cause with #63881 (also Opus 4.8, parallel Bash batches; reportedly absent on 4.7). That issue covers cascade-cancellation on non-zero exit; this one is the out-of-order / stuck-Waiting… rendering variant with no error involved.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗