File tree Expand file tree Collapse file tree
packages/core/src/v3/apiClient Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,8 +233,10 @@ export class SSEStreamSubscription implements StreamSubscription {
233233 // reset the timer naturally.
234234 stallTimeoutMs ?: number ;
235235 // HTTP statuses that should NOT be retried — fail the stream
236- // permanently. `404` (stream gone) and `410` (session closed)
237- // are sensible defaults; tune per-caller for other 4xx.
236+ // permanently. Defaults cover the permanent client-error set:
237+ // `400` (bad request), `404` (stream gone), `409` (conflict),
238+ // `410` (session closed), `422` (unprocessable). Tune per-caller
239+ // for other 4xx.
238240 nonRetryableStatuses ?: readonly number [ ] ;
239241 // Optional fetch override. Used by transports that need to route
240242 // the SSE connect through a custom path (proxy, custom headers,
You can’t perform that action at this time.
0 commit comments