[PR #1817] [MERGED] fix(sdk): add support for retries on issues during streaming #1752

Closed
opened 2026-02-15 20:16:43 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1817
Author: @jdrogers940
Created: 12/11/2025
Status: Merged
Merged: 12/16/2025
Merged by: @jdrogers940

Base: mainHead: jdr/fix-sse-network-drops


📝 Commits (10+)

  • 7ff27fd fix(sdk): add support for retries on issues during streaming
  • 37464ec Add cause to MaxReconnectAttemptsError, handle network errors more robustly
  • 2f68170 Rename file
  • d891757 Fix warnings
  • 7aed5a6 fix case where control events pass through
  • 020959d Merge branch 'main' into jdr/fix-sse-network-drops
  • 507ad9d fix tests + comments
  • b787f68 format
  • 7974375 Fix remaining test errors
  • 042de8f Add changeset

📊 Changes

6 files changed (+1230 additions, -64 deletions)

View changed files

.changeset/small-taxis-reply.md (+5 -0)
📝 libs/sdk/src/client.ts (+109 -64)
libs/sdk/src/tests/stream-retry.test.ts (+506 -0)
libs/sdk/src/tests/stream.test.ts (+394 -0)
libs/sdk/src/utils/error.ts (+30 -0)
📝 libs/sdk/src/utils/stream.ts (+186 -0)

📄 Description

Adds retries to the streaming endpoints of the JS client.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/1817 **Author:** [@jdrogers940](https://github.com/jdrogers940) **Created:** 12/11/2025 **Status:** ✅ Merged **Merged:** 12/16/2025 **Merged by:** [@jdrogers940](https://github.com/jdrogers940) **Base:** `main` ← **Head:** `jdr/fix-sse-network-drops` --- ### 📝 Commits (10+) - [`7ff27fd`](https://github.com/langchain-ai/langgraphjs/commit/7ff27fd63d886d8d7f1f525fda284642e9ae123e) fix(sdk): add support for retries on issues during streaming - [`37464ec`](https://github.com/langchain-ai/langgraphjs/commit/37464ece0e1cf612a444f1ffac76980e82d675a4) Add cause to MaxReconnectAttemptsError, handle network errors more robustly - [`2f68170`](https://github.com/langchain-ai/langgraphjs/commit/2f68170f1a87917ba7922409c75b5ab84c79b5ad) Rename file - [`d891757`](https://github.com/langchain-ai/langgraphjs/commit/d891757dacbb9c7921044955a56a2d93fcd99ecd) Fix warnings - [`7aed5a6`](https://github.com/langchain-ai/langgraphjs/commit/7aed5a683d819587bb432b70075e824b8078a88b) fix case where control events pass through - [`020959d`](https://github.com/langchain-ai/langgraphjs/commit/020959d907848cd50a444e6d3385a41f1216ecfc) Merge branch 'main' into jdr/fix-sse-network-drops - [`507ad9d`](https://github.com/langchain-ai/langgraphjs/commit/507ad9d054fd60f6aab47da51cdfbea76a191447) fix tests + comments - [`b787f68`](https://github.com/langchain-ai/langgraphjs/commit/b787f685af376505d4811655f333e81ee5dff62d) format - [`7974375`](https://github.com/langchain-ai/langgraphjs/commit/7974375ce46fad885367c0565e8090bc15d3a753) Fix remaining test errors - [`042de8f`](https://github.com/langchain-ai/langgraphjs/commit/042de8f6fc754e4fcb58030c866109d841e9d71e) Add changeset ### 📊 Changes **6 files changed** (+1230 additions, -64 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/small-taxis-reply.md` (+5 -0) 📝 `libs/sdk/src/client.ts` (+109 -64) ➕ `libs/sdk/src/tests/stream-retry.test.ts` (+506 -0) ➕ `libs/sdk/src/tests/stream.test.ts` (+394 -0) ➕ `libs/sdk/src/utils/error.ts` (+30 -0) 📝 `libs/sdk/src/utils/stream.ts` (+186 -0) </details> ### 📄 Description Adds retries to the streaming endpoints of the JS client. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:16:43 -05:00
yindo closed this issue 2026-02-15 20:16:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#1752