Skip to content

fix(transport): return clear error when no transports available#3806

Merged
mattsse merged 1 commit intoalloy-rs:mainfrom
neowangreal:fallback
Mar 19, 2026
Merged

fix(transport): return clear error when no transports available#3806
mattsse merged 1 commit intoalloy-rs:mainfrom
neowangreal:fallback

Conversation

@neowangreal
Copy link
Copy Markdown
Contributor

When transport list is empty or active_transport_count yields no candidates, return "No transports available" instead of misleading "All transports failed".

Returns "No transports available for fallback service" instead of the misleading "All transport futures failed to complete" / "All transports failed"

Copy link
Copy Markdown
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

Reviewed locally; looks good to merge.

@github-project-automation github-project-automation Bot moved this to Reviewed in Alloy Mar 19, 2026
@mattsse mattsse enabled auto-merge (squash) March 19, 2026 18:56
@mattsse mattsse merged commit bd19645 into alloy-rs:main Mar 19, 2026
57 of 59 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewed to Done in Alloy Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants