cultnet-rs: IdunnRuntimePresencePublisher, Odin RUDP delivery of signed presence and the Warming lease wait #199

Merged
eureka merged 9 commits from hands/cultlib-gaps-presence-provider-b into main 2026-11-28 14:21:37 +00:00
Owner

Lands cut cultnet-rs-presence-provider-b (spec r1; rulings presence-publisher-delivery and presence-publisher-lease-wait), judged in Soul pass s1 and never merged.

  • Merges current main (453b360f).
  • s1.lock-stale: packages/cultnet-rs/Cargo.lock gains the cultmesh-rs dev-dependency entries (133 added lines, none changed or removed), so cargo test --locked passes.
  • s1.wait-overshoot: wait_for_write_lease clips every heartbeat's connect and ack waits to the time remaining, so it returns at the caller's timeout plus at most one 25 ms receive slice. New test lease_wait_never_overruns_the_timeout uses an unreachable Odin with 2 s connect and ack and a 300 ms timeout, asserting return within timeout plus 400 ms.

Verified on Yggdrasil (ygg-verify): cargo test --locked in cultnet-rs and cultmesh-rs, exit 0.

🤖 Generated with Claude Code

Lands cut cultnet-rs-presence-provider-b (spec r1; rulings presence-publisher-delivery and presence-publisher-lease-wait), judged in Soul pass s1 and never merged. - Merges current main (453b360f). - s1.lock-stale: packages/cultnet-rs/Cargo.lock gains the cultmesh-rs dev-dependency entries (133 added lines, none changed or removed), so cargo test --locked passes. - s1.wait-overshoot: wait_for_write_lease clips every heartbeat's connect and ack waits to the time remaining, so it returns at the caller's timeout plus at most one 25 ms receive slice. New test lease_wait_never_overruns_the_timeout uses an unreachable Odin with 2 s connect and ack and a 300 ms timeout, asserting return within timeout plus 400 ms. Verified on Yggdrasil (ygg-verify): cargo test --locked in cultnet-rs and cultmesh-rs, exit 0. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
One spelling of 0x0d1d_0002, in the lower crate, before the presence publisher uses it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Endpoint from Expected's one odin.verse-rendezvous shared-infrastructure dependency; one RUDP session per publish; ack is delivery, an Odin error frame is a refusal by code; message id from the record's sequence; the signer is borrowed per call. Seam tests run against cultmesh-rs's real document server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mutation triage of the first run: the ack deadline and Debug survivors get behavioural tests; the scheme guard was an equivalent branch and is deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cultnet-rs presence publisher: wait_for_write_lease never overruns the caller's timeout
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
17c1d6e758
Heartbeat delivery clips its connect and ack waits to the time remaining.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A held sink makes the ack late by construction; the test releases it after the wait returns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cultnet-rs presence publisher tests: tighten the timeout overrun bound to 1 s plus 250 ms
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 21m44s
Rust crates / cargo test, fmt, clippy (pull_request) Successful in 8m18s
65338cfec2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eureka merged commit 5560d1d3ff into main 2026-11-28 14:21:37 +00:00
eureka deleted branch hands/cultlib-gaps-presence-provider-b 2026-11-28 14:21:37 +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!199
No description provided.