Skip to content

fix(relay): preserve complete UDP datagrams - #2228

Open
rudycelekli wants to merge 1 commit into
ruvnet:mainfrom
rudycelekli:fix/csi-relay-datagram-preservation-20261011
Open

rudycelekli wants to merge 1 commit into
ruvnet:mainfrom
rudycelekli:fix/csi-relay-datagram-preservation-20261011

Conversation

@rudycelekli

Copy link
Copy Markdown

The CSI UDP relay promises byte-for-byte forwarding but its 2048-byte receive buffer truncates larger datagrams, including the 2068-byte maximum ADR018 antenna/subcarrier shape. Its truthiness check also drops empty UDP payloads. Receive complete datagrams and distinguish an empty payload from the timeout sentinel, preserving the transparent relay contract.

The actual public Python CLI loopback producer reproduces both defects; fixed tests compare complete packet bytes, empty payloads and ordinary small datagrams. Three focused tests and all eight local harness gates pass (196 full tests pass, one skipped; security 91 pass, one skipped). Independent exact-commit loopback replay passes all three tests. Includes ADR413; manifest refresh is unchanged because production is outside the npm package. Owned loopback transport evidence does not establish physical RF fidelity. Hosted checks may require maintainer approval.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant