Skip to content

fix(semconv-ai): bump version to 0.4.16 for GenAICustomOperationName#3826

Open
SanjanaB123 wants to merge 1 commit intotraceloop:mainfrom
SanjanaB123:fix/bump-semconv-ai-version-for-genai-custom-operation-name
Open

fix(semconv-ai): bump version to 0.4.16 for GenAICustomOperationName#3826
SanjanaB123 wants to merge 1 commit intotraceloop:mainfrom
SanjanaB123:fix/bump-semconv-ai-version-for-genai-custom-operation-name

Conversation

@SanjanaB123
Copy link

@SanjanaB123 SanjanaB123 commented Mar 18, 2026

Fixes #3814

Problem

LangChain instrumentation fails to initialize with traceloop-sdk 0.53.0
because GenAICustomOperationName was added to the local source of
opentelemetry-semantic-conventions-ai but the package version was not
bumped, so PyPI still serves 0.4.15 which is missing the symbol.

Fix

  • Bumped opentelemetry-semantic-conventions-ai version from 0.4.150.4.16

  • Updated opentelemetry-instrumentation-langchain minimum dependency
    from >=0.4.13>=0.4.16 to ensure the new symbol is always available

  • I have added tests that cover my changes.
    (version bump only — existing tests already cover GenAICustomOperationName)

  • If adding a new instrumentation or changing an existing one, I've added screenshots.
    (not applicable — this is a dependency version fix)

  • PR name follows conventional commits format.

  • (If applicable) I have updated the documentation accordingly.
    (not applicable — no docs changes needed)

Summary by CodeRabbit

  • Chores
    • Updated opentelemetry-semantic-conventions-ai dependency to version 0.4.16, including matching internal dependency constraints.

@coderabbitai
Copy link

coderabbitai bot commented Mar 18, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 46309d27-3974-4ca2-b7d6-51c078afb9b6

📥 Commits

Reviewing files that changed from the base of the PR and between 9be7eea and 9a8485a.

⛔ Files ignored due to path filters (1)
  • packages/opentelemetry-instrumentation-langchain/uv.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • packages/opentelemetry-instrumentation-langchain/pyproject.toml
  • packages/opentelemetry-semantic-conventions-ai/pyproject.toml

📝 Walkthrough

Walkthrough

Bumps opentelemetry-semantic-conventions-ai package version from 0.4.15 to 0.4.16 and updates the corresponding dependency constraint in opentelemetry-instrumentation-langchain to require the new version.

Changes

Cohort / File(s) Summary
Semantic Conventions AI Package Version
packages/opentelemetry-semantic-conventions-ai/pyproject.toml
Updated project version from 0.4.15 to 0.4.16.
LangChain Instrumentation Dependency
packages/opentelemetry-instrumentation-langchain/pyproject.toml
Updated opentelemetry-semantic-conventions-ai version constraint from >=0.4.13,<0.5.0 to >=0.4.16,<0.5.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Poem

🐰 A rabbit hops with joy so bright,
Version bumps now set things right!
From 0.4.15 to 0.4.16,
Missing symbols fill the scene! ✨
Dependencies aligned at last,
Breaking bugs now in the past!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: bumping opentelemetry-semantic-conventions-ai to version 0.4.16 to resolve the GenAICustomOperationName import issue.
Linked Issues check ✅ Passed The pull request successfully addresses issue #3814 by bumping opentelemetry-semantic-conventions-ai from 0.4.15 to 0.4.16 and updating the langchain instrumentation dependency constraint to >=0.4.16, resolving the missing GenAICustomOperationName import error.
Out of Scope Changes check ✅ Passed All changes are directly related to the stated objective: version bumps in two pyproject.toml files to ensure GenAICustomOperationName availability. No unrelated or out-of-scope modifications are present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can customize the tone of the review comments and chat replies.

Configure the tone_instructions setting to customize the tone of the review comments and chat replies. For example, you can set the tone to Act like a strict teacher, Act like a pirate and more.

@CLAassistant
Copy link

CLAassistant commented Mar 18, 2026

CLA assistant check
All committers have signed the CLA.

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.

🐛 Bug Report: LangChain instrumentation breaks with traceloop-sdk 0.53.0 due to missing GenAICustomOperationName Description

3 participants