[Bug] Subagent/swarm completion wait hangs after all tasks complete and shutdown

Resolved 💬 2 comments Opened Feb 26, 2026 by MarwanTaia Closed Mar 27, 2026

Bug Description
Waiting for subagents/swarm to complete tasks while they're all done and shutdown already

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.1.59
  • Feedback ID: e92ebc56-f32e-4e0d-b2bb-a91b452baa06

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/taia/.local/share/claude/versions/2.1.59 (expected in multi-process scenarios)\n    at LN$ (/$bunfs/root/claude:2440:2098)\n    at IyA (/$bunfs/root/claude:2440:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T09:38:38.141Z"},{"error":"Error: 1P event logging: 37 events failed to export (status=500, code=ERR_BAD_RESPONSE, Request failed with status code 500)\n    at queueFailedEvents (/$bunfs/root/claude:6251:2350)\n    at async doExport (/$bunfs/root/claude:6251:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T09:50:54.213Z"},{"error":"Error: {\"message\":\"Failed to export 37 events (status=500, code=ERR_BAD_RESPONSE, Request failed with status code 500)\",\"originalLine\":\"6251\",\"originalColumn\":\"1409\",\"line\":\"6251\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 37 events (status=500, code=ERR_BAD_RESPONSE, Request failed with status code 500)\\n    at doExport (/$bunfs/root/claude:6251:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:2406:25028)\n    at <anonymous> (/$bunfs/root/claude:119:92467)\n    at y80 (/$bunfs/root/claude:119:93011)\n    at <anonymous> (/$bunfs/root/claude:120:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-26T09:50:54.213Z"}]

View original on GitHub ↗

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