Skip to content

Conversation

yukukotani
Copy link

Fixes #9077

In some cases, the parent run is cleaned up before its child run, typically when the child run is triggered as an async background call.

Ideally, the parent run should remain in memory until all child runs have completed. One possible approach could be to manage this with a WeakMap, but that would require significant changes.

As a temporary workaround, this fix isolates the child run to prevent the issue.

Copy link

changeset-bot bot commented Oct 4, 2025

🦋 Changeset detected

Latest commit: 1ec2784

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@langchain/core Patch
@langchain/standard-tests Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Oct 4, 2025

@yukukotani is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Oct 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Updated (UTC)
langchainjs-docs Ignored Ignored Oct 4, 2025 1:16am

@christian-bromann
Copy link
Member

Really appreciate you taking the time to open this PR, @yukukotani 🙏
The team is currently focused on shipping our v1 release, so we’re pausing detailed reviews for a bit. We’ll follow up within the next 2–4 weeks once things settle — thanks so much for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Un-awaited (background) LLM call triggers invalid 'dotted_order' during LangSmith trace

2 participants