BUG: Compact + Queue interaction #1721

Closed
opened 2026-02-16 17:32:20 -05:00 by yindo · 2 comments
Owner

Originally created by @neriousy on GitHub (Sep 15, 2025).

Originally assigned to: @thdxr on GitHub.

While running the /compact command and queueing a message the message is instantly sent.

Tried fixing it on my own - figured out that isBusy() is checking only whether the session is in the pending state, but the session could also be compacting which isn't setting the pending state.

I got to the point where it will wait for the compacting to end but the queued message pops up in the history and there is no callback from the model provider.

Originally created by @neriousy on GitHub (Sep 15, 2025). Originally assigned to: @thdxr on GitHub. While running the `/compact` command and queueing a message the message is instantly sent. Tried fixing it on my own - figured out that `isBusy()` is checking only whether the session is in the pending state, but the session could also be compacting which isn't setting the pending state. I got to the point where it will wait for the compacting to end but the queued message pops up in the history and there is no callback from the model provider.
yindo closed this issue 2026-02-16 17:32:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 15, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #1476: Reports that queued messages are forgotten after tasks finish and are ignored after compacting
  • #2246: Describes queued messages that sit there and don't run despite no outstanding LLM responses, requiring manual "go" to proceed
  • #760: Reports "Session is busy" errors when the chat is not actually working, suggesting session state tracking issues similar to the isBusy() problem mentioned

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 15, 2025): This issue might be a duplicate of existing issues. Please check: - #1476: Reports that queued messages are forgotten after tasks finish and are ignored after compacting - #2246: Describes queued messages that sit there and don't run despite no outstanding LLM responses, requiring manual "go" to proceed - #760: Reports "Session is busy" errors when the chat is not actually working, suggesting session state tracking issues similar to the isBusy() problem mentioned Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1721