cultmesh-rs: subscription events carry member rows from the schema catalog #196

Merged
eureka merged 9 commits from hands/rs-subscribe-members into main 2026-11-28 11:35:42 +00:00
Owner

Last of four cuts toward a Rust subscription client (Thing 2.0's thing-mesh needs it). The client fetches member rows with schema_catalog_request{includeMembers} (#195) for all unseen (schemaId, schemaContentHash) pairs concurrently, caches them by that pair, and delivers them with each record; records wait in order behind the fetch. A record whose schema has no rows carries a typed NoMembers reason (refused, or timed out; a timeout retries later rather than latching). close() is the explicit shutdown that waits (bounded, 500 ms) for the unsubscribe acknowledgement and reports it; Drop is best-effort and never blocks. The disconnect tests no longer depend on one UDP goodbye datagram.

Spec cultlib-gaps:cut_spec:cut-rs-subscribe-members.r1; reports h1-h3; Soul s1, s2. Rust CI job runs on this PR. Disconnect tests 0/50 red on Yggdrasil, 0/20 on Windows.

🤖 Generated with Claude Code

Last of four cuts toward a Rust subscription client (Thing 2.0's thing-mesh needs it). The client fetches member rows with schema_catalog_request{includeMembers} (#195) for all unseen (schemaId, schemaContentHash) pairs concurrently, caches them by that pair, and delivers them with each record; records wait in order behind the fetch. A record whose schema has no rows carries a typed NoMembers reason (refused, or timed out; a timeout retries later rather than latching). `close()` is the explicit shutdown that waits (bounded, 500 ms) for the unsubscribe acknowledgement and reports it; Drop is best-effort and never blocks. The disconnect tests no longer depend on one UDP goodbye datagram. Spec `cultlib-gaps:cut_spec:cut-rs-subscribe-members.r1`; reports h1-h3; Soul s1, s2. Rust CI job runs on this PR. Disconnect tests 0/50 red on Yggdrasil, 0/20 on Windows. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Rows are keyed by (schemaId, schemaContentHash) and joined in the pump after assembly; events whose rows are unknown wait in order behind one catalog request. A record with no rows is delivered with a typed NoMembers reason, never dropped or decoded by position.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cultmesh-rs tests: let the scripted peer take its stall before the client closes
Some checks failed
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Has been cancelled
b9b2a3a64f
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Merge branch 'main' into hands/rs-subscribe-members
Some checks failed
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 31m13s
Rust crates / cargo test, fmt, clippy (pull_request) Failing after 8m26s
2157b3dddb
CI: rerun (Rust job failure did not reproduce on Yggdrasil)
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 28m11s
Rust crates / cargo test, fmt, clippy (pull_request) Successful in 9m26s
cba9c65e11
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge branch 'main' into hands/rs-subscribe-members
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 22m9s
Rust crates / cargo test, fmt, clippy (pull_request) Successful in 8m41s
fc1143b4b2
eureka merged commit 0c890c79cc into main 2026-11-28 11:35:42 +00:00
eureka deleted branch hands/rs-subscribe-members 2026-11-28 11:35:42 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/CultLib!196
No description provided.