Repository navigation
Bring the TypeScript LangSmith plugin to parity with Python - #457
Merged
Merged
Conversation
patbeqo
force-pushed
the
patbeqo/langsmith-ts-parity
branch
from
November 10, 2026 16:20
b246b2b to
21350ee
Compare
patbeqo
marked this pull request as ready for review
November 10, 2026 16:59
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7348b3efbd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
xumaple
approved these changes
Nov 13, 2026
xumaple
reviewed
Nov 13, 2026
Plugin runs record no Temporal arguments or results and end with a status, continue-as-new and cancellation are not errors, and client markers span their call. Update-with-start propagates to the update, signals nest like Python, runs carry Temporal ID metadata and the plugin's tags, and a propagated parent keeps tracing on when LANGSMITH_TRACING is off. Run IDs and timestamps follow Python's replay rules, and the LangChain sandbox support moves out until a TypeScript LangGraph plugin exists.
Both plugins queue writes in front of the LangSmith client, so the flush on Worker shutdown could run before queued writes reached the client. TypeScript now drains its sink queue first, and Python runs the flush on its write thread after pending writes.
In TypeScript Workflows, a child built with `new RunTree({ parent_run })` from an untraced run is now untraced too, like one built with createChild.
The deprecated activityInbound list is only kept for compatibility, and OpenAIAgentsPlugin rebuilds the Worker interceptors without it, which dropped LangSmith's Activity runs. Registering on activity keeps the interceptor when another plugin rebuilds the list.
patbeqo
force-pushed
the
patbeqo/langsmith-ts-parity
branch
from
November 13, 2026 23:03
de88e75 to
e062b8b
Compare
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.
Follow-up to #314. Brings the TypeScript LangSmith plugin in line with the Python plugin.
What changed
{status}, and treat continue-as-new and cancellation as statuses, not errors. Errors readClassName: message, and Nexus handler runs aretoolruns.langsmithimports in the Workflow bundle resolve to the patched CommonJS build.LANGSMITH_TRACINGis off, like Python.RunTreemethod is missing.Plugin run inputs no longer include Temporal arguments, which changes what existing users see in LangSmith.
Not in this PR
langsmith0.11 support. Theaddressoption breaks on 0.11 and needs its own change.Testing
pnpm run lintandpnpm testpass (176 tests).