Skip to content

Propagate IPFS byte-stream bridge failures to guests #611

Description

@lthibault

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions