chore(langchain): bump langgraph to 1.2.4 - #37857
Merged
Merged
Conversation
Move the `langgraph` lower bound to `>=1.2.4` (the lockfile previously resolved to the now-yanked 1.2.3) and migrate `SubagentTransformer` to the 1.2.4 stream-transformer contract. In 1.2.4, langgraph's base `_TasksLifecycleBase` stopped passing the triggering `cause` to `_on_started` as a keyword argument and instead exposes it via the `self._pending_cause` instance attribute, so overrides predating `cause` keep working. Our `_on_started` override still declared `*, cause=None` and therefore silently received `None`, dropping the originating tool-call `cause` on every `run.subagents` handle. Read `self._pending_cause` instead and drop the stale kwarg to match the new base signature.
Sydney Runkle (sydney-runkle)
approved these changes
Jun 2, 2026
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
had a problem deploying
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Error
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
Nick Hollon (nick-hollon-lc)
temporarily deployed
to
Scheduled testing
June 2, 2026 17:30 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
langgraphrequirement from>=1.2.2to>=1.2.4SubagentTransformerto the 1.2.4 stream-transformer contractlanggraph 1.2.3 was yanked ("unintended merging strategy regression"), and 1.2.4 changes how the base
_TasksLifecycleBasehands the triggeringcauseto its_on_startedhook: it no longer passescauseas a keyword argument and instead exposes it via the_pending_causeinstance attribute, so overrides predatingcausekeep working. Our_on_startedoverride still declared acausekeyword and therefore silently receivedNone, dropping the originating tool-callcauseon everyrun.subagentshandle. It now reads_pending_cause. The existingtest_subagent_transformerregression tests cover the restored behavior.