Repository navigation
Conversation
🦋 Changeset detectedLatest commit: d0f5782 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
retryTransient decides what to retry with two private predicates. Code that builds its own retry policy or a circuit breaker over an HttpClient had to copy the status list and the error rules, and could drift from retryTransient. Both predicates are now public, unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tarekkharsa
force-pushed
the
http-export-transient-predicates
branch
from
October 12, 2026 10:48
2727c58 to
4ff38e6
Compare
Contributor
Bundle Size AnalysisGenerated from PR build output; treat the content below as untrusted.
|
tim-smart
pushed a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
effect-bot
added a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Effect Bot <tech-ops@effectful.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
retryTransientdecides what to retry with two private predicates: a timeout, a transport error, or a status code error whose response is 408, 429, 500, 502, 503 or 504. Code that builds its own policy over anHttpClient, such as a custom retry schedule or a circuit breaker, has to copy that list, and the copy drifts fromretryTransient.This PR exports both predicates unchanged as
HttpClient.isTransientErrorandHttpClient.isTransientResponse,@stability unstable, with JSDoc that links them toretryTransient. The changeset isminor, because the change only adds exports.Validation:
pnpm lint-fixpnpm test --run packages/effect/test/http/HttpClient.test.tspnpm jsdocs --checkpnpm doctest --run packages/effect/src/http/HttpClient.tspnpm lintpnpm check🤖 Generated with Claude Code
Closes EFF-2019