Skip to content

Conversation

SgtPooki
Copy link
Member

@SgtPooki SgtPooki commented Apr 29, 2025

Title

fix: client bubbles up errors

Description

Fixes an issue where an aborted verified-fetch call was not being respected by the libp2pRouting provided by @helia/routers, because delegated-routing-v1-http-api-client was swallowing the error.

Related ipfs/helia-verified-fetch#214
Related ipfs/service-worker-gateway#681
Related ipfs/helia#780
Related https://github.com/SgtPooki/repro-helia-libp2p-router-abort-handling
Related ipfs/service-worker-gateway#699

Notes & open questions

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

@SgtPooki SgtPooki requested a review from a team as a code owner April 29, 2025 16:38
Copy link
Member Author

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self review

SgtPooki added a commit to ipfs/helia-verified-fetch that referenced this pull request Apr 29, 2025
@SgtPooki SgtPooki merged commit 35308b4 into main Apr 29, 2025
21 checks passed
@SgtPooki SgtPooki deleted the fix/client-abort-signal-handling branch April 29, 2025 16:54
github-actions bot pushed a commit that referenced this pull request Apr 29, 2025
Copy link

🎉 This PR is included in version @helia/delegated-routing-v1-http-api-client-v4.2.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

SgtPooki added a commit to ipfs/helia-verified-fetch that referenced this pull request Apr 29, 2025
* fix: remove abortable-iterator

depends on ipfs/helia-delegated-routing-v1-http-api#166

* chore: update delegated-routing-v1-http-api-client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant