Description
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.
Screenshot and/or share link
N/A (server-side behavior)
Operating System
Linux x64
Terminal
Ghostty
Description
When using the
/eventendpoint withafter_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
opencode serve)./event?after_seq=bad./event?after_seq=0with replay unavailable/expired cursor.Expected behavior
SSE consumers should receive explicit replay/backpressure control signals so recovery logic is deterministic.
Screenshot and/or share link
N/A (server-side behavior)
Operating System
Linux x64
Terminal
Ghostty