Skip to content

feat: add router capabilities for fallback routers#1084

Merged
achingbrain merged 1 commit into
mainfrom
feat/use-fallback-routers-after-regular-routers
Jul 10, 2026
Merged

feat: add router capabilities for fallback routers#1084
achingbrain merged 1 commit into
mainfrom
feat/use-fallback-routers-after-regular-routers

Conversation

@achingbrain

@achingbrain achingbrain commented Jul 10, 2026

Copy link
Copy Markdown
Member

Adds an optional .capabilities function to the router interface that can signal to Helia's routing system that the router is to be used after existing routers.

The practical application is falling back to trustless gateways when delegated routing fails to find providers.

Easier to reason about version of #1029

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

Adds an optional `.capabilities` function to the router interface
that can signal to Helia's routing system that the router is to be
used after existing routers.

The practical application is falling back to trustless gateways
when delegated routing fails to find providers.
@achingbrain
achingbrain requested a review from a team as a code owner July 10, 2026 09:09
@achingbrain
achingbrain merged commit aea1416 into main Jul 10, 2026
19 checks passed
@achingbrain
achingbrain deleted the feat/use-fallback-routers-after-regular-routers branch July 10, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant