Files
pnpm/network/fetch/test
YES!HYUNGSEOK 05b95ab100 fix(network.fetch): reject non-retryable errors instead of throwing in the retry callback (#12517)
A non-retryable error code (e.g. SELF_SIGNED_CERT_IN_CHAIN) was thrown inside the
detached op.attempt callback, so the governing promise never settled: the caller
hung and the throw surfaced as an unhandled rejection that crashed the process.
Reject the promise instead, mirroring the retries-exhausted path right below it.

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2026-06-20 02:18:36 +00:00
..