Verify Python peer error export
This commit is contained in:
parent
92d50632d5
commit
f2a8f05193
3 changed files with 6 additions and 2 deletions
|
|
@ -174,8 +174,9 @@ CultCache, CultNet, and CultMesh. It is evidence, not confetti.
|
|||
- Python package health:
|
||||
`cultcache-py-verify --json` checks the public CultCache/CultNet/CultMesh
|
||||
export surface, `py.typed` markers, a live local CultMesh framed-wire smoke
|
||||
over hello/schema/snapshot/shard catalog/shard log, peer-advertised mutation
|
||||
contracts, payload schema wire contracts, and benchmark sanity for
|
||||
over hello/schema/snapshot/shard catalog/shard log, typed peer-error export
|
||||
availability, peer-advertised mutation contracts, payload schema wire
|
||||
contracts, and benchmark sanity for
|
||||
Python-owned hot paths.
|
||||
- Python/C# public cache baseline:
|
||||
`cultcache_py.compare_csharp` runs Python and C# `CultCache` upsert/get
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ EXPECTED_EXPORTS: dict[str, tuple[str, ...]] = {
|
|||
"CultNetClientAuthorityScope",
|
||||
"CultNetDatabaseSubscription",
|
||||
"CultNetMessage",
|
||||
"CultNetPeerError",
|
||||
"CultNetWitnessArtifactBundle",
|
||||
"CultNetRawClient",
|
||||
"CultNetRawDocumentRecord",
|
||||
|
|
|
|||
|
|
@ -399,6 +399,8 @@ class CultCacheTests(unittest.TestCase):
|
|||
{check["name"] for check in result["checks"]},
|
||||
{"public_exports", "typed_markers", "local_cultmesh_wire_smoke", "benchmark_sanity"},
|
||||
)
|
||||
by_name = {check["name"]: check for check in result["checks"]}
|
||||
self.assertEqual(by_name["public_exports"]["missing"], {})
|
||||
|
||||
def test_cultnet_schema_message_frame_round_trip(self) -> None:
|
||||
message = hello(runtime_id="python-test", supported_schema_versions=["cultnet.hello.v0"])
|
||||
|
|
|
|||
Loading…
Reference in a new issue