Files
neuron-tai/tests
Dobromir Popov 7473bb7e44 fix: DGR-033 repair native worker protocol per cross-review BLOCK
Address the Codex GPT-5.5 review of the standalone fake C++ gRPC Shard
worker. Four root protocol defects fixed:

- Fail closed before SessionOpen: a per-session `opened` flag gates
  chunk/decode so no activation bypasses lifecycle, cancellation, epoch
  or flow-control state (terminal ERROR_CODE_INTERNAL), even when an
  out-of-band Cancel created placeholder state.
- Strict flow-control negotiation: NegotiateFlow takes the strictest of
  peer-vs-worker bounds (mirrors codec.negotiate_flow_control) and the
  negotiated per-session max_chunk_bytes is enforced on every bundle
  instead of trusting the peer proposal.
- In-stream ReleaseSignal now erases session state immediately.
- SessionOpen rejects incompatible schema, fingerprint, and shard-range
  identity and reports the worker's own served fingerprint rather than
  echoing the caller.

Adds 9 regression tests (worker suite 18 -> 27). Real gates on the
rebuilt pinned-gRPC binary: cmake build exit 0; ctest 2/2; worker
pytest 27 passed; harness+protocol 63 passed; compileall 0; diff --check
clean; ldd/nm show 0 llama/ggml linkage. DGR-033 passes -> true.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-26 22:57:03 +03:00
..
2026-07-01 10:57:44 +02:00
2026-07-14 12:26:10 +02:00
2026-07-11 22:25:30 +03:00
2026-07-14 12:26:10 +02:00
2026-07-11 22:25:30 +03:00
2026-07-15 13:55:38 +02:00
2026-07-11 22:25:30 +03:00
2026-07-15 12:54:51 +02:00
2026-07-14 12:26:10 +02:00
2026-07-14 12:26:10 +02:00
2026-07-11 22:25:30 +03:00
2026-07-11 22:25:30 +03:00
2026-07-11 22:25:30 +03:00
2026-07-21 14:00:30 +03:00
2026-07-14 12:26:10 +02:00
2026-07-15 12:35:32 +02:00
2026-07-11 22:25:30 +03:00
2026-07-11 22:25:30 +03:00
2026-07-11 22:25:30 +03:00
2026-07-11 22:25:30 +03:00
2026-07-11 22:25:30 +03:00
2026-07-11 22:25:30 +03:00
2026-07-11 22:25:30 +03:00
2026-07-12 02:44:12 +03:00
2026-07-11 22:25:30 +03:00
2026-07-11 22:25:30 +03:00
2026-07-11 22:25:30 +03:00