Skip to content

[Do not merge] Add ContextVar for trace context propagation in tool functions#1664

Open
sgoel-nr wants to merge 33 commits intomainfrom
enable_child_subcomponent_links
Open

[Do not merge] Add ContextVar for trace context propagation in tool functions#1664
sgoel-nr wants to merge 33 commits intomainfrom
enable_child_subcomponent_links

Conversation

@sgoel-nr
Copy link
Contributor

No description provided.

umaannamalai and others added 29 commits February 17, 2026 13:11
Add subcomponent attribute to LangChain instrumentation.
Add subcomponent attribute to Autogen instrumentation.
Add subcomponent attribute to Strands instrumentation.
Add subcomponent attribute to MCP instrumentation.
@sgoel-nr sgoel-nr requested a review from a team as a code owner February 18, 2026 06:07
@github-actions
Copy link

github-actions bot commented Feb 18, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 7 0 0 0.97s
✅ MARKDOWN markdownlint 7 0 0 0 1.41s
✅ PYTHON ruff 967 0 0 0 1.06s
✅ PYTHON ruff-format 967 0 0 0 0.37s
✅ YAML prettier 15 0 0 0 1.58s
✅ YAML v8r 15 0 0 5.12s
✅ YAML yamllint 15 0 0 0.66s

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security

@sgoel-nr sgoel-nr force-pushed the enable_child_subcomponent_links branch from 890baaa to 49eb8d6 Compare February 18, 2026 06:46
@mergify mergify bot added the tests-failing Tests failing in CI. label Feb 18, 2026
@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2026

Codecov Report

❌ Patch coverage is 84.29752% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.71%. Comparing base (5758689) to head (29cc83e).
⚠️ Report is 1 commits behind head on develop-agentic-subcomponent-attrs.

Files with missing lines Patch % Lines
newrelic/hooks/mlmodel_autogen.py 83.62% 13 Missing and 6 partials ⚠️
Additional details and impacted files
@@                         Coverage Diff                          @@
##           develop-agentic-subcomponent-attrs    #1664    +/-   ##
====================================================================
  Coverage                               81.70%   81.71%            
====================================================================
  Files                                     210      210            
  Lines                                   24689    24805   +116     
  Branches                                 3884     3899    +15     
====================================================================
+ Hits                                    20173    20269    +96     
- Misses                                   3200     3214    +14     
- Partials                                 1316     1322     +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sgoel-nr sgoel-nr changed the title Add ContextVar for trace context propagation in tool functions [Do not merge] Add ContextVar for trace context propagation in tool functions Feb 18, 2026
sgoel-nr and others added 3 commits February 18, 2026 13:30
… proxy to manage trace lifecycle and ensure proper event recording.
…after tool execution, ensuring accurate trace recording during async iteration.
@mergify mergify bot added the merge-conflicts Merge conflicts detected. label Feb 18, 2026
Base automatically changed from develop-agentic-subcomponent-attrs to main February 18, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-conflicts Merge conflicts detected. tests-failing Tests failing in CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants