Skip to content

[pull] main from awslabs:main#252

Merged
pull[bot] merged 2 commits into
Tiamat-Tech:mainfrom
awslabs:main
Jun 3, 2026
Merged

[pull] main from awslabs:main#252
pull[bot] merged 2 commits into
Tiamat-Tech:mainfrom
awslabs:main

Conversation

@pull

@pull pull Bot commented Jun 3, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

nabetti1720 and others added 2 commits June 3, 2026 14:12
#1583)

* fix(fetch): reject connection failures with TypeError: Failed to fetch

Network/connection failures threw "Fetch failed. <hyper error>". The AWS SDK
retry classifier (@smithy/service-error-classification) only treats a TypeError
as a retryable transient error when error.message is exactly "Failed to fetch"
(isBrowserNetworkError), so SNS (and other SDK) calls were classified as
CLIENT_ERROR and not retried (attempts: 1), ignoring the configured retry
policy.

Throw exactly TypeError: Failed to fetch on connection failure, matching the
WHATWG Fetch spec and the SDK's transient-error allow-list, and attach the
underlying hyper error as error.cause to preserve diagnostics.

Fixes #1482

* fmt

---------

Co-authored-by: richarddd <richard.davison1@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Jun 3, 2026
@pull pull Bot added the ⤵️ pull label Jun 3, 2026
@pull pull Bot merged commit d3f57c4 into Tiamat-Tech:main Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants