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
fix: stabilize reentrant lifecycle delivery across runners #437
Required macOS CI exposed scheduler-dependent lifecycle observations in the Cycle 2 regressions. A deterministic write-drain barrier then showed a narrower runtime gap: when a packet handler calls client.disconnect(), a later packet that already entered server middleware is preserved by Socket.IO but discarded by smocket after the middleware resumes. A packet held by middleware before an external disconnect must still be discarded.
Proposed change
Make the real fixture prove that both client writes left its queue before releasing the first handler, and preserve dispatch ownership only for teardown started re-entrantly from that handler. Keep externally held packets guarded, attach Manager ACK rejection assertions before teardown, and serialize real-target files that each own a live server.
Behavior
This aligns queued middleware delivery with real Socket.IO
changed the title [-]test: stabilize lifecycle observations across runners[/-][+]fix: stabilize reentrant lifecycle delivery across runners[/+]on Aug 26, 2026
Activity
[-]test: stabilize lifecycle observations across runners[/-][+]fix: stabilize reentrant lifecycle delivery across runners[/+]