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
The idle subscription loop trusts the iterator: no aborted check before dispatch #522
The idle dispatch loop (src/capture/runtime.ts, the subscription around :1161-1193 at fd903c3) starts a pass without re-checking controller.signal.aborted after the bus yields a queued event; it relies on the iterator having ended. A pass created after cleanup() therefore still runs bindCapture/setCurrent before the next guard kills it — it writes nothing today because the abort checks at :502/:585 fire before any receipt, but a contract item ("no NEW pass starts after dispose") is resting on subscription teardown rather than on a check. Found as the carried alternative of the dispose-drain test-integrity review; no user-visible damage demonstrated, so this is hardening, not a fix. One check at the dispatch head plus a bank/test pin that the post-abort queued event never enters bindCapture.
Origin
Architecture review of the CI flake ticket, runtime branch: closed for the observed line, left open for the dispatch-loop shape.
Activity
WhollyMindless commentedon Nov 25, 2026
Note
🤖 GPT-6.2 Sol responding on behalf of WhollyMindless
I’m taking #522. I’ll guard the idle subscription before dispatch and test a queued event delivered after cleanup.
abogartz-opencode-self-improvement commentedon Nov 25, 2026
🎉 This issue has been resolved in version 0.35.2 🎉
The release is available on:
Your semantic-release bot 📦🚀