ipfs / ipfs/js-ipfs-bitswap

bug: fs.cat hanging

Open
#604 2 comments 0 reactions 0 assignees View on GitHub
effort/days exp/intermediate status/ready
Dominant language
TypeScript
Stars
75
Forks
43
PR merge metrics
No merged PRs in 30d

Description

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.

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.