Dobromir Popov 5177db25b0 feat: implement real generated-gRPC protocol harness (DGR-024)
Real ShardRuntimeServicer process bound to a real localhost socket, driven
by a generated ShardRuntimeStub over grpc.insecure_channel from a separately
spawned subprocess. Proves direct-hop and opaque-relay (exact captured
request bytes re-sent, no reinterpretation) produce byte-identical server
responses, cross-checked against an independent server-side wire capture.

Fails closed on the required negative paths: stale route epoch, expired
deadline, malformed/non-tiling fragments, checksum failure, exhausted
flow-control credit (with in-band top-up), duplicate idempotency steps
(acked, not re-applied), and cancel — both in-band CancelSignal (single
work item vs whole session) and the out-of-band unary Cancel RPC, including
a Cancel that races ahead of SessionOpen.

Supersedes the earlier in-memory fake-seam approach for this ticket, which
a policy audit rejected under the no-fake-data rule; that code is not
reintroduced. Evidence README rewritten to describe the actual files.

11 passed in tests/test_shard_runtime_harness.py.
2026-07-21 13:39:58 +03:00
2026-06-28 23:49:11 +03:00
2026-07-09 20:46:29 +02:00
2026-07-14 20:33:02 +02:00
env
2026-07-06 18:47:21 +03:00
2026-07-14 14:05:37 +02:00
2026-07-01 14:40:42 +02:00
2026-07-13 18:14:21 +02:00
2026-07-09 08:19:15 +03:00
2026-06-28 23:49:11 +03:00
Description
No description provided
1.2 GiB
Languages
Python 94.7%
HTML 4.1%
C++ 0.7%
Shell 0.2%
JavaScript 0.2%
Other 0.1%