You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: /event replay semantics are implicit and conflict with SSE backpressure handling #19584
When using the /event endpoint with after_seq, replay failures are not clearly signaled to SSE consumers. This makes reconnect/recovery logic inconsistent, especially when clients are slow or reconnecting.
OpenCode version
v1.3.4
Steps to reproduce
Start server (opencode serve).
Produce some events.
Call /event?after_seq=bad.
Call /event?after_seq=0 with replay unavailable/expired cursor.
Expected behavior
SSE consumers should receive explicit replay/backpressure control signals so recovery logic is deterministic.
The issue does not use one of the three required issue templates (Bug Report, Feature Request, or Question). Please resubmit using the appropriate template.
The description reads as AI-generated: it is highly structured with proposed implementation details, specific internal event names, and design recommendations that go well beyond describing a bug. AI-generated walls of text are not acceptable per our guidelines.
Bug reports should describe observed behavior with actual reproduction steps — this issue describes hypothetical/expected behavior rather than a confirmed bug.
The environment section lists v1.3.4 baseline which does not appear to be a real version; please include your actual OpenCode version.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Thank you for updating the issue! It now follows the contributing guidelines and includes all the necessary information. We appreciate the clear description, reproduction steps, and system details.
Activity
github-actions commentedon Mar 29, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
v1.3.4 baselinewhich does not appear to be a real version; please include your actual OpenCode version.Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
sessionIDFilter for SSE Event Subscription #9650: SupportsessionIDfilter for SSE event subscription — touches the same/eventroute and SSE stream architectureIf you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Mar 29, 2026
Thank you for updating the issue! It now follows the contributing guidelines and includes all the necessary information. We appreciate the clear description, reproduction steps, and system details.
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.