Repository navigation
TRN-14 PR-A: add fused-pull codec and negotiation helpers - #627
Conversation
59a3503 to
f4b8f9f
Compare
Exact-head validation —
|
- Add opt-in pure probe/request/readiness negotiation gates. - Add strict FPR3 response codecs and hermetic byte-mutation tests while preserving legacy defaults.
f4b8f9f to
9828c33
Compare
Current-main validation —
|
Scope
TRN-14 PR-A only: pure negotiation helpers plus strict, bounded FPR3 codec and hermetic byte tests. This patch does not implement or enable the fused transport/server protocol.
Exact source candidate:
9828c33fbe33fe26f5b0d07157b45d406500c60bParent / actual official-main base:
a253a58905ac664b95e1b566c92e043d09df9b6cOfficial main advanced after the prior
f4b8f9favalidation. The same three-file codec commit was replayed again as a 1:1 patch on the new actual main; all three changed files remain byte-identical (747+/1−), with fresh focused tests, maintained full and CI required on this new exact head. No other branch or source file was changed by this PR, and the older f4b8f9f evidence remains scoped to its earlier base.Three files:
src/transport/dev_frame.hsrc/transport/rdma_protocol.htest/transport/rdma_fused_protocol_test.ccChanges
max_block_byteswithout changing unrelated masks.release_generation, and complete 66-byte DPR2 response. Existing default probe/readiness output does not advertise the new bits.PutU32/GetU32numeric codec. ASCIIFPR3describes the little-endian test byte sequence only, not a network-order conversion or big-endian compatibility promise.prepare_statusand response-prefixvalue_lento be encoded and strictly decoded as zero; nonzero values are malformed, not loosely ignored.Hermetic verification
The tests include literal native-codec bytes, all FPR3 kinds and statuses 1..5, all reserved fields, slot/generation/status/result/kind/magic mutations, exact lengths/trailing data, embedded DPR2 validation, malformed outer envelopes, encoder rejection, and decoder partial-output guards.
Explicit non-goals and boundaries
rdma_transport,rdma_server, runtime configuration,WireOp/wire-status, MW invalidation, connection-pool, pending-grant, stop/teardown, client resource, or server state-machine change is included.2N+1measurement or performance claim is made.Future server state (PR-B), client pending-resource ownership (PR-C), and default-off configuration/runtime integration (PR-D) require separate patches, fresh native validation, and independent review. This PR intentionally remains draft while exact-head CI and maintained-full evidence are collected; it is not ready for merge queue.