CultLib/packages/cultmesh-py/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 1a173f6000 cultmesh-py: a put that could never be stored is refused, not raised
_unservable_put sized a put by building the envelope it would store, and
that read document["recordKey"] and document["payload"] directly: a put
over RUDP with no recordKey raised KeyError out of the RUDP loop and
ended the thread for every peer. A string payload raised TypeError the
same way.

_unservable_put now refuses a put whose document lacks a string recordKey
or a binary payload as malformed_document_put, the code the server
already uses for a put with no document map, before any sizing reads it
and before its early return, so the TCP path refuses it too instead of
raising in apply_raw_put_message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 17:42:43 +02:00
..
test_cultmesh.py cultmesh-py: a put that could never be stored is refused, not raised 2026-09-30 17:42:43 +02:00
test_rudp_server_generation.py cultmesh-py: keep the generation test's replies whole; probe the small queue with an empty snapshot 2026-09-30 15:51:06 +02:00