Files
piik/tests
T
AAA c116c8e291 feat(debug): log flow assignments, selections and link states
An offline replay has to know which parent served each publication and
when, and when each pair was confirmed or failed. Each participant logged
only the removal of a flow assignment and the flow states it sent.

With the debug switch on, ChannelMedia now also logs when a flow is
assigned and when it becomes selected, with the pair, peer, flow,
publication, upstream flow and direction, beside the existing removal. The
session logs each link state it sends beside the flow states it already
logs. All fields are identifiers or states.

Verified: npx tsc -b; the new channel-session test walks a pair through
an unselected assignment, its selection, an outgoing relay flow, the
connected link state and removal, and finds no record with debug off. The
existing flow report test passes unchanged.
c116c8e291 · 2026-11-25 13:35:10 +08:00
History
..