3 Commits

Author SHA1 Message Date
Ivan FB
3f1a45c73c
route reliable channel send through waku.send
Reviewer flagged that constructing MessageEnvelope/DeliveryTask, minting
the messagingReqId, poking deliveryTask.msg.meta, and calling
sendService.send directly all reach past the messaging API into its
internals — a layer-boundary violation.

Replace that block in onReadyToSend with `await self.waku.send(envelope)`
where `envelope.meta` carries the wire-format marker. The channel now
holds a `Waku` instead of a `DeliveryService`. waku.send already handles
requestId generation, subscription, and DeliveryTask construction.

`waku.send` isn't `(raises: [])` so the await is wrapped in try/except to
keep the listener annotation honest.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 10:27:30 +02:00
Ivan FB
1926b86d06
better pending segments management 2026-05-28 10:39:48 +02:00
Ivan FB
74057c6622
start basic reliable channel folder (#3886) 2026-05-27 23:05:20 +02:00