CultNet: refuse a binding serializer that returns null #177

Merged
eureka merged 3 commits from hands/cultnet-cs-null-serializer into main 2026-11-19 20:19:22 +00:00

2026-11-17

Libby
ci: rerun (leases shard failed after 16m with no log access on f4e3359e; the mesh tests pass locally, 364)
Some checks failed
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Failing after 30m26s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 02:37:11 +00:00
Libby
CultNet: refuse a binding serializer that returns null instead of defaulting
Some checks failed
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Failing after 16m9s
ToRawRecord's 'binding?.PayloadSerializer(document) ?? default' let the default
serializer silently override a bound owner whose serializer returned null. The
binding path now refuses (InvalidOperationException, naming type and schema);
CreateRawDocumentPutMessage shares the same check instead of putting a null
payload on the wire. Non-null results are unchanged.

Closes cultlib-gaps:finding:cut-bytes-after-cs.s3.null-serializer-silent-fallback

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 02:00:38 +00:00