feat!: introduce ReadSession with caught-up state tracking #88
Conversation
Greptile SummaryThis PR introduces
Confidence Score: 5/5Safe to merge — the delivery queue + event synchronisation is correct, cancellation re-propagates cleanly, and the caught-up semantics match the Go SDK. The core ReadSession logic is well-structured: the maxsize-1 queue gates exactly one in-flight delivery at a time, _finish drains and resets it atomically (no await points), and the current.cancelling() guard correctly re-raises outer-task cancellation. Caught-up state transitions align with the Go SDK reference implementation. No files require special attention. Important Files Changed
Reviews (3): Last reviewed commit: "return -> get" | Re-trigger Greptile |
|
@greptileai pls review again |
ReadSession with caught-up state tracking
No description provided.