[PR #369] [MERGED] Add tests for async cancellation #1414

Closed
opened 2026-02-20 17:44:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/369
Author: @nfcampos
Created: 4/30/2024
Status: Merged
Merged: 4/30/2024
Merged by: @nfcampos

Base: mainHead: nc/30apr/test-async-cancellation


📝 Commits (1)

  • 281e312 Add tests for async cancellation

📊 Changes

1 file changed (+51 additions, -0 deletions)

View changed files

📝 tests/test_pregel_async.py (+51 -0)

📄 Description

  • when outer invoke/stream is cancelled currently running nodes should be cancelled
  • when multiple nodes run in parallel and one fails the others should be cancelled

🔄 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/langgraph/pull/369 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 4/30/2024 **Status:** ✅ Merged **Merged:** 4/30/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/30apr/test-async-cancellation` --- ### 📝 Commits (1) - [`281e312`](https://github.com/langchain-ai/langgraph/commit/281e312d40cc5ab21c7c63b04e7cac8d189ba069) Add tests for async cancellation ### 📊 Changes **1 file changed** (+51 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_pregel_async.py` (+51 -0) </details> ### 📄 Description - when outer invoke/stream is cancelled currently running nodes should be cancelled - when multiple nodes run in parallel and one fails the others should be cancelled --- <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-20 17:44:40 -05:00
yindo closed this issue 2026-02-20 17:44:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1414