fix: align parser span kind with OpenInference - #1026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s OpenInference LangChain instrumentation dependency to ensure parser spans are classified as CHAIN (per the OpenInference contract change), and aligns the ticket-classification trace expectations accordingly.
Changes:
- Bump
openinference-instrumentation-langchainto>=0.1.69(and lock to0.1.69) to match updated span-kind behavior. - Update the expected trace fixture to assert
PydanticOutputParserspans areopeninference.span.kind = CHAIN. - Increment package version to
0.15.4and keepuv“exclude-newer” settings aligned.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pyproject.toml |
Raises the minimum OpenInference LangChain instrumentation version and bumps the package version to 0.15.4. |
uv.lock |
Locks the updated dependency version and reflects the project version bump in the editable package entry. |
testcases/ticket-classification/expected_traces.json |
Updates span-kind expectation from UNKNOWN to CHAIN for parser spans to match OpenInference behavior. |
radu-mocanu
force-pushed
the
fix/openinference-parser-span-kind
branch
from
August 6, 2026 12:26
efb18dd to
a249d99
Compare
andreitava-uip
approved these changes
Aug 6, 2026
radu-mocanu
force-pushed
the
fix/openinference-parser-span-kind
branch
from
August 6, 2026 16:55
a249d99 to
ebc3f0c
Compare
radu-mocanu
enabled auto-merge (squash)
August 7, 2026 07:10
|
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.



Summary
CHAINclassification consistently0.1.xcompatibility rangeWhy
OpenInference 0.1.69 changed parser spans from
UNKNOWNtoCHAINin Arize-ai/openinference#3486. Requiring that version keeps runtime traces and test expectations deterministic.