[Feature Request] Use SSE/Streaming for /compact Instead of Non-Streaming HTTP #2029

Closed
opened 2026-02-16 17:33:49 -05:00 by yindo · 5 comments
Owner

Originally created by @H0llyW00dzZ on GitHub (Oct 10, 2025).

Originally assigned to: @thdxr on GitHub.

The current implementation of the /compact command uses a non-streaming HTTP request, which can take a very long time to complete. Switching to a streaming approach (e.g., Server-Sent Events or another streaming protocol) would significantly improve responsiveness and user experience by providing real-time feedback during the operation.

Originally created by @H0llyW00dzZ on GitHub (Oct 10, 2025). Originally assigned to: @thdxr on GitHub. The current implementation of the `/compact` command uses a non-streaming HTTP request, which can take a very long time to complete. Switching to a streaming approach (e.g., Server-Sent Events or another streaming protocol) would significantly improve responsiveness and user experience by providing real-time feedback during the operation.
yindo closed this issue 2026-02-16 17:33:49 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 10, 2025):

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

  • #2928: bug: /compact is not interruptable - Similar issue about the non-streaming nature making /compact impossible to interrupt during long operations
  • #298: Friction using /compact command - Reports several-second delays and unresponsive UI during compaction, indicating the same non-streaming problem
  • #606: bug: /compact is not interruptable - Another report of the same interruptibility issue caused by non-streaming implementation

Additionally, these related issues might provide useful context:

  • #2101: Implement MCP progress notifications - Discusses the need for real-time feedback during long operations
  • #785: Is there a way to disable streaming mode? - Shows streaming is generally important for user experience

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

@github-actions[bot] commented on GitHub (Oct 10, 2025): This issue might be a duplicate of existing issues. Please check: - #2928: bug: /compact is not interruptable - Similar issue about the non-streaming nature making /compact impossible to interrupt during long operations - #298: Friction using /compact command - Reports several-second delays and unresponsive UI during compaction, indicating the same non-streaming problem - #606: bug: /compact is not interruptable - Another report of the same interruptibility issue caused by non-streaming implementation Additionally, these related issues might provide useful context: - #2101: Implement MCP progress notifications - Discusses the need for real-time feedback during long operations - #785: Is there a way to disable streaming mode? - Shows streaming is generally important for user experience Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 10, 2025):

yeah having faster visual feedback is nice

@rekram1-node commented on GitHub (Oct 10, 2025): yeah having faster visual feedback is nice
Author
Owner

@fkukuck commented on GitHub (Oct 10, 2025):

Opened https://github.com/sst/opencode/pull/3079

@fkukuck commented on GitHub (Oct 10, 2025): Opened https://github.com/sst/opencode/pull/3079
Author
Owner

@H0llyW00dzZ commented on GitHub (Oct 10, 2025):

Opened #3079

That’s way better.

@H0llyW00dzZ commented on GitHub (Oct 10, 2025): > Opened [#3079](https://github.com/sst/opencode/pull/3079) That’s way better.
Author
Owner

@rekram1-node commented on GitHub (Oct 15, 2025):

will be in next release, thanks to @fkukuck

@rekram1-node commented on GitHub (Oct 15, 2025): will be in next release, thanks to @fkukuck
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2029