Skip to content

Verify LangChain conversation id and span parenting with @langchain/core 1.2.17 #25293

Closed

Description

@RulaKhaled

`@langchain/core@1.2.17` changed how runtime context flows through the ambient runnable config across tool calls, nested runnables, and streaming (langchain-ai/langchainjs#11849).

We read the conversation id from `config.configurable` in `getConversationIdMetadataFromConfig` (`packages/server-utils/src/ai/langchain/utils.ts`), and the 1.1.40 change already forced a workaround there. This release could break that path again, or start surfacing the id twice.

Add an integration test that invokes a nested runnable from inside a streamed tool callback, and check that span parenting, `gen_ai.conversation.id`, and tags hold at every boundary on both 1.2.16 and 1.2.17.

Activity

  1. linear-code commented on Oct 12, 2026

    @linear-code
  2. self-assigned this
    on Oct 12, 2026
  3. added a commit that references this issue on Oct 13, 2026
    41ea931
  4. github-actions commented on Oct 15, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #25326, which was included in the 11.8.0 release.

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions