cultmesh-rs: connect_with_wake, a wake handle on the subscription client #200

Merged
eureka merged 5 commits from hands/cultlib-subscription-wake into main 2026-11-29 06:58:59 +00:00

2026-11-29

Meta Vens
cultmesh-rs: wake tests pin what they name (wake-tests-pin-less-than-named)
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 22m51s
Rust crates / cargo test, fmt, clippy (pull_request) Successful in 9m12s
Steward decision (coordinator, 2026-11-29). The reconnect test counts the
final wake apart from the abandoned reconnect's Disconnected wake; the
not-lost test reads what the wake drained from the client's own queue; a new
test pins the event counted before its wake, through a test-hooks accessor
beside pump_liveness.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 07:07:11 +01:00
Meta Vens
cultmesh-rs: the final wake only releases a waiter; no drain promise (final-wake-drain-unreachable)
Steward decision (coordinator, 2026-11-29): close and Drop consume the client,
so nothing can try_drain after the last wake. The docs now say the last wake
releases a blocked waiter, which learns the client is gone from a Weak that no
longer upgrades.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 07:06:41 +01:00
Meta Vens
cultmesh-rs: drop a caught wake panic's payload inside its own catch (panic-payload-drop-kills-pump)
Steward decision (coordinator, 2026-11-29): a payload whose Drop panics no
longer ends the pump. The docs say a panicking wake aborts the process under
panic = abort.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 07:06:09 +01:00
Meta Vens
cultmesh-rs: Drop on the pump thread signals Close and does not join itself (last-handle-on-pump-thread)
Steward decision (coordinator, 2026-11-29): when the client's last handle is
dropped by a wake on the pump thread, Drop sends Close and does not join; the
pump ends once the wake returns. The module docs tell a wake to hold the
client weakly and say why.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 07:04:56 +01:00
Meta Vens
cultmesh-rs: connect_with_wake, a wake handle on the subscription client (cultmesh-subscription-wake)
Some checks failed
Rust crates / cargo test, fmt, clippy (pull_request) Has been cancelled
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Has been cancelled
The pump calls the consumer's closure after each event is queued and once
when it ends after close or Drop, so a consumer blocks on what the wake feeds
instead of polling try_drain.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 06:40:46 +01:00