[PR #1007] [MERGED] feat(pregel): add ability to bulk update as input #1172

Closed
opened 2026-02-15 19:17:32 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1007
Author: @dqbd
Created: 3/18/2025
Status: Merged
Merged: 3/19/2025
Merged by: @dqbd

Base: mainHead: dqbd/bulk-update-as-input


📝 Commits (10+)

📊 Changes

3 files changed (+217 additions, -3 deletions)

View changed files

📝 libs/langgraph/src/constants.ts (+1 -0)
📝 libs/langgraph/src/pregel/index.ts (+73 -3)
📝 libs/langgraph/src/tests/pregel.test.ts (+143 -0)

📄 Description

  • Add option to submit an update as input, creates a source: input checkpoint that will contain __start__ task, which can be populated with a second update
  • Also adds a test for expected usage + map reduce patterns

🔄 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/1007 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 3/18/2025 **Status:** ✅ Merged **Merged:** 3/19/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/bulk-update-as-input` --- ### 📝 Commits (10+) - [`526671a`](https://github.com/langchain-ai/langgraphjs/commit/526671a2bbab8780fa14e723f4080281568e9bf5) feat(pregel): add ability to bulk update as input - [`1160109`](https://github.com/langchain-ai/langgraphjs/commit/11601092f0f5e4bba859bde9e6f2674a0b604d0d) Put writes later - [`799cb2a`](https://github.com/langchain-ai/langgraphjs/commit/799cb2a067aede9d907d527be43525ff973372aa) Add test for map-reduce - [`1faebb7`](https://github.com/langchain-ai/langgraphjs/commit/1faebb7d8291c07e6617c17a8fe277d09ff18223) Add back the test - [`2576fcc`](https://github.com/langchain-ai/langgraphjs/commit/2576fcca6c6640e9afa66e646bee70ab698eb10e) Add as constants - [`7004818`](https://github.com/langchain-ai/langgraphjs/commit/7004818385a79601adb379e817c25bd6088ec1d3) Mark as internal - [`033dedc`](https://github.com/langchain-ai/langgraphjs/commit/033dedc103020c9e4a6ea7e30c9bba0cc474d078) Fix error - [`3dce6de`](https://github.com/langchain-ai/langgraphjs/commit/3dce6de6019a8088369a219234fb6313cce7bb47) Use the same step? - [`d803294`](https://github.com/langchain-ai/langgraphjs/commit/d8032945d512fd621f80df17c59a626dec97a76b) be more conservative with step - [`5af8693`](https://github.com/langchain-ai/langgraphjs/commit/5af869360a94ab55d96805730e5bfa9630bef856) revert ### 📊 Changes **3 files changed** (+217 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/src/constants.ts` (+1 -0) 📝 `libs/langgraph/src/pregel/index.ts` (+73 -3) 📝 `libs/langgraph/src/tests/pregel.test.ts` (+143 -0) </details> ### 📄 Description - Add option to submit an update as input, creates a `source: input` checkpoint that will contain `__start__` task, which can be populated with a second update - Also adds a test for expected usage + map reduce patterns --- <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 19:17:32 -05:00
yindo closed this issue 2026-02-15 19:17:32 -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#1172