Bug: Dangling async generator on internal cancel in sseStreamProducer
Bug: Dangling async generator on internal cancel in sseStreamProducer: a task in LegoFlow-SWE (Harbor dataset). When a server‑side subscription stops emitting because of internal cancellation conditions inside sseStreamProducer (e.g. opts.emitAndEndImmediately or opts.maxDurationMs ), the…
The task
When a server‑side subscription stops emitting because of **internal** cancellation conditions inside `sseStreamProducer` (e.g. `opts.emitAndEndImmediately` or `opts.maxDurationMs`), the `AbortSignal` exposed to the user’s generator function is **not** aborted. This leaves any user‑land cleanup logic that depends on…
Part of Lego-X/LegoFlow-SWE.