C#: a forward is retryable only when provably not sent; unconfirmed otherwise; refusals carry fixed text
Some checks failed
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Has been cancelled
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Has been cancelled

CultNetWriteNotSentException names the pre-send boundary (connect, hello, no endpoint,
or a send port that proves nothing was written). Every other forwarding failure keeps
the session claim. ForUnownedSchema and the routing refusal no longer carry exception text.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Libby 2026-11-08 15:02:56 +00:00
commit 541d734675
7 changed files with 244 additions and 32 deletions

View file

@ -245,8 +245,8 @@ namespace GameCult.Networking
}
/// <summary>
/// A forward its primary left unanswered: no answer is owed or possible, and the claim stays so the id is never
/// forwarded again on this session. Sends nothing.
/// A forward that may have reached its primary and is unconfirmed (silence, reset, timeout, an ambiguous send): no answer is
/// owed or possible, and the claim stays so the id is never forwarded again on this session. Sends nothing.
/// </summary>
public void LeftSilent()
{
@ -254,8 +254,8 @@ namespace GameCult.Networking
_answered = true;
}
/// <summary>A forward that never reached a primary that could have applied it: forget the claim, send nothing.</summary>
public void Unanswered()
/// <summary>A forward that was provably not sent (connect failed, or the send failed before any byte was written): forget the claim, send nothing.</summary>
public void NotSent()
{
if (_answered) return;
_answered = true;