r/ClaudeCode • u/shetritr • 5h ago
Discussion Interrupting a Claude Code session mid-fix from a code review: one signal split in two, 8 s coalescing, re-delivery after 5 min
If you send a coding agent a review comment while it's mid-fix, when should it see it?
My setup used one poll for that, and the poll meant two things: "I'm listening" and "I'm done with the last batch". So a comment sent mid-fix waited for the whole batch, and an unanswered thread read "no answer" the moment the agent polled again.
Now a poll only means listening, and only a reply settles a thread. The agent (Claude Code here) starts its next poll as a background task before it acts. While it works, a new send is held 8 s after the last one (30 s max), so three quick sends are one interrupt. A thread with no reply and no edits for 5 minutes goes out again, up to 3 times, then reads "no answer". Edits push that clock back, capped at 15 minutes.
Where it doesn't work: an agent whose poll holds its turn still acts, replies, then polls, and the page has to say "sends wait".
"Listening" and "done" were one signal. Splitting them fixed both bugs.
Disclosure: this is in Diffo, a review tool I built (free, Apache-2.0): diffo.io/demo
How do you handle a message that never gets answered: re-send, or let it time out?
•
u/AutoModerator 5h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.