claude-code - 💡(How to fix) Fix [Bug] Parallel tool calls trigger persistent "Cancelled" errors

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

● Bash(cd /home/antoine/stuff/snip; python3 localresearch/crosscheck.py 2>&1 | tail -20) ⎿  # crosscheck rows=842 mismatches=0

● Bash(cd /home/antoine/stuff/snip; python3 localresearch/crosscheck.py; echo "EXIT=$?") ⎿  # crosscheck rows=842 mismatches=0 EXIT=0

● Bash(cd /home/antoine/stuff/snip python3 - <<'PY'…) ⎿  R2 OK: clean ValueError -> tmpo0z06u49.xml: endpoint type='internal_speaker' operating_mode='normal' has no <p rofile>

● Bash(cd /home/antoine/stuff/snip cat > /tmp/r2test.py <<'PY'…) ⎿  Error: Exit code 1 Traceback (most recent call last): File "/tmp/r2test.py", line 4, in <module> import dolby_to_easyeffects as d ModuleNotFoundError: No module named 'dolby_to_easyeffects'

● Bash(python3 /tmp/r2test.py > /tmp/r2out.txt 2>&1; echo "exit=$?") ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/snip cat > /tmp/…) errored

Read 1 file (ctrl+o to expand)

● Bash(echo alive; cd /home/antoine/stuff/atmos; pwd) ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/snip cat > /tmp/…) errored

● Bash(python3 /tmp/r2test.py 2>&1) ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/snip cat > /tmp/…) errored

Read 1 file (ctrl+o to expand)

● Update(tests/test_decoders.py) ⎿  Error editing file

● Bash(python3 -m pytest tests/test_decoders.py -q 2>&1 | tail -4) ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/snip cat > /tmp/…) errored

● Bash(python3 -m pytest tests/test_decoders.py::TestIntAttr -q 2>&1 | tail -5) ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/snip cat > /tmp/…) errored

● Bash(git log --oneline -3 > /tmp/g1.txt 2>&1; git status --short >> /tmp/g1.txt 2>&1; cat /tmp/g1.txt) ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/snip cat > /tmp/…) errored

Code Example

Bash(cd /home/antoine/stuff/*snip*; python3 localresearch/crosscheck.py 2>&1 | tail -20)
  ⎿  # crosscheck rows=842 mismatches=0

● Bash(cd /home/antoine/stuff/*snip*; python3 localresearch/crosscheck.py; echo "EXIT=$?")
  ⎿  # crosscheck rows=842 mismatches=0
     EXIT=0

● Bash(cd /home/antoine/stuff/*snip*
      python3 - <<'PY'…)
  ⎿  R2 OK: clean ValueError -> tmpo0z06u49.xml: endpoint type='internal_speaker' operating_mode='normal' has no <p
     rofile>

● Bash(cd /home/antoine/stuff/*snip*
      cat > /tmp/r2test.py <<'PY'…)
  ⎿  Error: Exit code 1
     Traceback (most recent call last):
       File "/tmp/r2test.py", line 4, in <module>
         import dolby_to_easyeffects as d
     ModuleNotFoundError: No module named 'dolby_to_easyeffects'

● Bash(python3 /tmp/r2test.py > /tmp/r2out.txt 2>&1; echo "exit=$?")
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

  Read 1 file (ctrl+o to expand)

● Bash(echo alive; cd /home/antoine/stuff/atmos; pwd)
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

● Bash(python3 /tmp/r2test.py 2>&1)
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

  Read 1 file (ctrl+o to expand)

● Update(tests/test_decoders.py)
  ⎿  Error editing file

● Bash(python3 -m pytest tests/test_decoders.py -q 2>&1 | tail -4)
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

● Bash(python3 -m pytest tests/test_decoders.py::TestIntAttr -q 2>&1 | tail -5)
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

● Bash(git log --oneline -3 > /tmp/g1.txt 2>&1; git status --short >> /tmp/g1.txt 2>&1; cat /tmp/g1.txt)
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored
RAW_BUFFERClick to expand / collapse

Bug Description "Cancelled: parallel tool call" errors kill the ongoing session. Once the error happens, it will happen for all following tool calls effectively killing the session. Restarting claude to resume the session fresh also doesn't seem to be showing the tool calls which had repeatedely errored out.

Environment Info

  • Platform: linux
  • Terminal: kitty
  • Version: 2.1.156
  • Feedback ID: 3cd02669-4c81-4283-9f78-9d9a266bef71

Terminal transcript when the error happens

● Bash(cd /home/antoine/stuff/*snip*; python3 localresearch/crosscheck.py 2>&1 | tail -20)
  ⎿  # crosscheck rows=842 mismatches=0

● Bash(cd /home/antoine/stuff/*snip*; python3 localresearch/crosscheck.py; echo "EXIT=$?")
  ⎿  # crosscheck rows=842 mismatches=0
     EXIT=0

● Bash(cd /home/antoine/stuff/*snip*
      python3 - <<'PY'…)
  ⎿  R2 OK: clean ValueError -> tmpo0z06u49.xml: endpoint type='internal_speaker' operating_mode='normal' has no <p
     rofile>

● Bash(cd /home/antoine/stuff/*snip*
      cat > /tmp/r2test.py <<'PY'…)
  ⎿  Error: Exit code 1
     Traceback (most recent call last):
       File "/tmp/r2test.py", line 4, in <module>
         import dolby_to_easyeffects as d
     ModuleNotFoundError: No module named 'dolby_to_easyeffects'

● Bash(python3 /tmp/r2test.py > /tmp/r2out.txt 2>&1; echo "exit=$?")
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

  Read 1 file (ctrl+o to expand)

● Bash(echo alive; cd /home/antoine/stuff/atmos; pwd)
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

● Bash(python3 /tmp/r2test.py 2>&1)
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

  Read 1 file (ctrl+o to expand)

● Update(tests/test_decoders.py)
  ⎿  Error editing file

● Bash(python3 -m pytest tests/test_decoders.py -q 2>&1 | tail -4)
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

● Bash(python3 -m pytest tests/test_decoders.py::TestIntAttr -q 2>&1 | tail -5)
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

● Bash(git log --oneline -3 > /tmp/g1.txt 2>&1; git status --short >> /tmp/g1.txt 2>&1; cat /tmp/g1.txt)
  ⎿  Cancelled: parallel tool call Bash(cd /home/antoine/stuff/*snip*
     cat > /tmp/…) errored

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Parallel tool calls trigger persistent "Cancelled" errors