[BUG] Message queue replays previous messages after failed/interrupted queue entry
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When I add a message to the queue while Claude is responding, and that queued message doesn't process correctly, it gets permanently stuck. Every subsequent message I send then displays all the previously-stuck messages again before my new one. The only way to clear it seems to be starting a new session.
Steps to reproduce:
- Send a message and let Claude start responding
- While Claude is responding, type and send a second message (queuing it)
- If the queued message fails to process or gets dropped, it persists
- Send any new message — the stuck message(s) replay before the new content
- This compounds: multiple failed queue entries all replay every time
This happens reliably when queuing messages during active responses, especially if the queued message is interrupted or doesn't process correctly.
What Should Happen?
Failed queue entries should be discarded or retryable, not permanently echoed. A queued message that fails to process should not replay on every subsequent message send. The queue should clear after a failed entry, or at minimum provide a way to clear stuck messages without starting a new session.
Error Messages/Logs
No specific error messages — the bug is purely behavioural. The stuck queued messages silently replay in the input display each time a new message is sent.
Steps to Reproduce
- Send a message and let Claude start responding
- While Claude is responding, type and send a second message (queuing it)
- If the queued message fails to process or gets dropped, it persists in the queue
- Send any new message — the stuck message(s) replay before the new content
- This compounds: multiple failed queue entries all replay every time
- Only fix is to start a new session (/clear or close and reopen)
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
Latest (as of 2026-03-16)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗