Skip to content

bug: fs.cat hanging #604

@SgtPooki

Description

@SgtPooki

discussed 2023-09-28

We are currently optimistically leaving CID in WANTLIST because we assume it will resolve, but it's not. The expectation is that a user would pass in an AbortSignal.

The promise that bitswap returns doesn't resolve: no FINAL_PEER. If we query all peers we know about.... then we should be done and exit, regardless of AbortSignal.

### Tasks
- [ ] the query SHOULD end but doesn't (provide repro) 
- [ ] If we fail to find providers we should fail the whole thing

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/daysEstimated to take multiple days, but less than a weekexp/intermediatePrior experience is likely helpfulstatus/readyReady to be worked

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions