cultmesh-rs: close and Drop stay in bounds during a reconnect; close/Drop tests proven, not slept (h4) #198
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/rs-subscribe-members-h4"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the eight findings of verdict
cultlib-gaps:verdict:cut-rs-subscribe-members.s3(steward decision:close()waits up to 500 ms for the acknowledgement and reports it;Dropis best effort).connect_timeout. The test proves the pump is insideopen()(the silent peer has seen its Connect); red first at 3.01 s.peer.stall()returns once the peer thread has entered the stall; the 100 ms sleeps are gone.close()now returns the pump thread's join result (no reply channel, no second give-up timer). Tests pin early return on acknowledgement, the goodbye, the join and false after the session ended.pump_livenessand its fields are behind atest-hooksfeature that the crate's own tests enable through a dev-dependency on itself (a#[cfg(test)]item is invisible to integration tests).Cargo.lockgains the self entry.Not done: the duplicated id check between the ErrorV1 guard and
catalog_refused(the finding's side remark) is left.🤖 Generated with Claude Code