The daemon-side system.Ipfs.read bridge streams Kubo content through a bounded duplex buffer. When the upstream read fails, the bridge currently logs a warning and closes the writer, which can present a clean EOF to the guest after partial content.
Make upstream IPFS read failures observable to the ByteStream consumer rather than silently completing a truncated read.
Acceptance criteria:
- a stalled or failed upstream transfer cannot be mistaken for a complete file;
- guest-visible failure semantics are documented and covered by an integration-style test;
- normal backpressure remains supported.
The daemon-side
system.Ipfs.readbridge streams Kubo content through a bounded duplex buffer. When the upstream read fails, the bridge currently logs a warning and closes the writer, which can present a clean EOF to the guest after partial content.Make upstream IPFS read failures observable to the ByteStream consumer rather than silently completing a truncated read.
Acceptance criteria: