[PR #254] [MERGED] Remove some noisy frames from stack traces #1330

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/254
Author: @nfcampos
Created: 3/31/2024
Status: Merged
Merged: 4/1/2024
Merged by: @nfcampos

Base: mainHead: nc/31mar/shorten-stack-traces


📝 Commits (1)

  • 4e373b8 Remove noisy frames from stack traces

📊 Changes

4 files changed (+116 additions, -144 deletions)

View changed files

📝 langgraph/graph/graph.py (+71 -23)
📝 langgraph/pregel/__init__.py (+20 -16)
📝 tests/__snapshots__/test_pregel.ambr (+20 -100)
📝 tests/test_pregel.py (+5 -5)

📄 Description

  • The less frames in library code the less confused the user is
  • This doesn't remove all library frames (not possible), but it's a start

🔄 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/254 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 3/31/2024 **Status:** ✅ Merged **Merged:** 4/1/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/31mar/shorten-stack-traces` --- ### 📝 Commits (1) - [`4e373b8`](https://github.com/langchain-ai/langgraph/commit/4e373b8af2647095e3e81034f8f192af1a273014) Remove noisy frames from stack traces ### 📊 Changes **4 files changed** (+116 additions, -144 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/graph/graph.py` (+71 -23) 📝 `langgraph/pregel/__init__.py` (+20 -16) 📝 `tests/__snapshots__/test_pregel.ambr` (+20 -100) 📝 `tests/test_pregel.py` (+5 -5) </details> ### 📄 Description - The less frames in library code the less confused the user is - This doesn't remove all library frames (not possible), but it's a start --- <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:28 -05:00
yindo closed this issue 2026-02-20 17:44:28 -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#1330