[Bug] Agent resume fails with infinite retry loop when agent still running

Resolved 💬 2 comments Opened Mar 10, 2026 by abaidalgarni Closed Apr 8, 2026

Bug Description
⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Initializing…
⎿  Error: Cannot resume agent a63c25edbb5220be5: it is still running. Use TaskStop to stop it first, or wait for it to complete.

⏺ Agent(Resume urine analysis exploration) resuming a63c25edbb5220be5
⎿  Done (0 tool uses · 147.3k tokens · 10s)
(ctrl+o to expand) see this recurrent issue

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.71
  • Feedback ID: e7fccaf5-fd10-43a3-b4f5-5bd2b9036b63

Errors

[{"error":"Error\n    at _p (/$bunfs/root/src/entrypoints/cli.js:82:1144)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:83:10015)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:85:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T00:16:58.319Z"},{"error":"Erro…

Note: Content was truncated.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗