Skip to content

fix(provider): classify transport send failures for fallback#1453

Closed
Alix-007 wants to merge 1 commit intosipeed:mainfrom
Alix-007:pr/issue-1419-fallback-transport
Closed

fix(provider): classify transport send failures for fallback#1453
Alix-007 wants to merge 1 commit intosipeed:mainfrom
Alix-007:pr/issue-1419-fallback-transport

Conversation

@Alix-007
Copy link
Contributor

Summary

  • classify common transport send/request failures as retriable timeout-style fallback errors
  • cover connection reset, connection refused, no route to host, unexpected EOF, and TLS handshake timeout
  • add focused classifier regression tests for these transport patterns

Closes #1419.

Testing

  • go test ./pkg/providers -run TestClassifyError_TransportSendPatterns -count=1

@sipeed-bot sipeed-bot bot added type: bug Something isn't working domain: provider go Pull requests that update go code labels Mar 13, 2026
xuwei-xy pushed a commit to xuwei-xy/picoclaw that referenced this pull request Mar 14, 2026
@Alix-007
Copy link
Contributor Author

Closing this to avoid keeping another duplicate branch in the queue.

After re-checking issue #1419 and the current PR queue, this branch is not the best line to keep active:

If the maintainers later prefer this exact patch shape, it can be reopened, but for now I think reducing duplicate PRs is the better move.

@Alix-007 Alix-007 closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: provider go Pull requests that update go code type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fallback chain aborts on retriable OpenRouter transport resets

1 participant