carlos / platform Public

dbforward-console-conn-trace

tests: trace the console side of the DBForward edge hop (#897)

Diagnostics only. TestDBForwardLongRequestThroughTheEdge failed on main at 5fac2ff1: the console logged the CLI's read admitted, then "ended client gone" 1 ms later, and the tap saw the edge close the CLI's connection first. Go's server cancels a request's context on any background read error on the connection, a deadline timeout included, so the missing evidence is what the console's connection from the edge read and when. The console's listener in both edge rigs now records, per accepted connection, every read error, every read deadline the server or a handler sets, half-closes and closes. The trace prints beside the tap trace when the CLI read fails. A passing run shows the edge reusing one pooled connection for the direct read and the CLI's.

Commits 1
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity